import { stubClassNames , stubStyles } from "../fakes.test" ; import { AbsoluteSizeSchema } from "../Sizing" ; import { AreasFaker , AreasFakerDependencies } from "./AreasFaker" ; import { createElement } from "./CreateElement" ; export const stubContainerSize = { height : 280 , width : 210 , } ; const stubDependencies = { classNames : stubClassNames , container : createElement ( "div" , { style : { height : `${ stubContainerSize . height }px` , width : `${ stubContainerSize . width }px` , } , } ) , createElement , menus : [ ] , styles : stubStyles , } ; export const stubAreasFaker = ( partialDependencies = { } ) => new AreasFaker ( { ... stubDependencies , ... partialDependencies , } ) ;