import * as smartexpect from './dist_ts/index.js'; console.log('script start'); const obj = { topLevel: 'hello' }; console.log('script: test alias toHaveProperty'); const ret = smartexpect.expect(obj).toHaveProperty('topLevel'); console.log('got ret:', ret, 'typeof', typeof ret); console.log('ret.then?', ret && typeof (ret as any).then); console.log('script end');