fix(core): update

This commit is contained in:
2024-01-28 01:18:39 +01:00
parent 779e495941
commit 0b7c29eae7
14 changed files with 3634 additions and 29127 deletions

View File

@ -1,8 +1,8 @@
import { tap, expect } from '@pushrocks/tapbundle';
import * as smartchok from '../ts/index';
import * as smartfile from '@pushrocks/smartfile';
import * as smartpromise from '@pushrocks/smartpromise';
import * as smartrx from '@pushrocks/smartrx';
import { tap, expect } from '@push.rocks/tapbundle';
import * as smartchok from '../ts/index.js';
import * as smartfile from '@push.rocks/smartfile';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartrx from '@push.rocks/smartrx';
import * as fs from 'fs';
@ -16,7 +16,7 @@ let testAddObservable: smartrx.rxjs.Observable<[string, fs.Stats]>;
let testSubscription: smartrx.rxjs.Subscription;
tap.test('should create a new instance', async () => {
testSmartchok = new smartchok.Smartchok([]);
expect(testSmartchok).to.be.instanceof(smartchok.Smartchok);
expect(testSmartchok).toBeInstanceOf(smartchok.Smartchok);
});
tap.test('should add some files to watch and start', async () => {