import { isReservedSpace } from './is_reserved_space' ; import type { Space } from './types' ; test ( 'it returns true for reserved spaces' , ( ) => { const space = { id : '' , name : '' , disabledFeatures : [ ] , _reserved : true , } ; expect ( isReservedSpace ( space ) ) . toEqual ( true ) ; } ) ; test ( 'it returns false for non-reserved spaces' , ( ) => { const space = { id : '' , name : '' , disabledFeatures : [ ] , } ; expect ( isReservedSpace ( space ) ) . toEqual ( false ) ; } ) ; test ( 'it handles empty input' , ( ) => { expect ( isReservedSpace ( ) ) . toEqual ( false ) ; } ) ;