smartobject/test/test.ts
2020-07-24 11:37:11 +00:00

13 lines
361 B
TypeScript

import { expect, tap } from '@pushrocks/tapbundle';
import * as smartobject from '../ts/index';
tap.test('first test', async () => {
const result = smartobject.compareObjects(
{ thisIsEq: 'wow', thisIsDeepEq: { deeper: 'sodeep' } },
{ thisIsEq: 'wow', thisIsDeepEq: { deeper: 'sodeep' }, hey: 'there' }
);
console.log(result);
});
tap.start();