declare var assert ; declare var expect ; var _chai = require ( "chai" ) ; globalThis . assert = _chai . assert ; { assert . isFalse = ( expr , msg ) => { if ( expr !== false ) throw new Error ( msg ) ; } ; const assertDeepImpl = assert . deepEqual ; assert . deepEqual = ( a , b , msg ) => { if ( ts . isArray ( a ) && ts . isArray ( b ) ) { assertDeepImpl ( arrayExtraKeysObject ( a ) , arrayExtraKeysObject ( b ) , "Array extra keys differ" ) ; } assertDeepImpl ( a , b , msg ) ; function arrayExtraKeysObject ( a ) { const obj = { } ; for ( const key in a ) { if ( Number . isNaN ( Number ( key ) ) ) { obj [ key ] = a [ key ] ; } } return obj ; } } ; } globalThis . expect = _chai . expect ; namespace ts { }