import { assert } from 'chai' ; const isEqual = require ( "react-fast-compare" ) ; describe ( 'DeepPureComponent' , function ( ) { it ( 'basic' , function ( ) { const myFunction0 = ( ) => 1 + 1 ; const myFunction1 = ( ) => 1 + 2 ; assert . isTrue ( isEqual ( { func : myFunction0 } , { func : myFunction0 } ) ) ; assert . isFalse ( isEqual ( { func : myFunction0 } , { func : myFunction1 } ) ) ; } ) ; } ) ;