fix(core): update
This commit is contained in:
parent
dac95baa8a
commit
9ad94d9e6b
26408
package-lock.json
generated
26408
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -13,17 +13,17 @@
|
||||
"format": "(gitzone format)"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.24",
|
||||
"@gitzone/tstest": "^1.0.33",
|
||||
"@pushrocks/tapbundle": "^3.2.1",
|
||||
"@types/node": "^14.0.11",
|
||||
"tslint": "^6.1.2",
|
||||
"@gitzone/tsbuild": "^2.1.29",
|
||||
"@gitzone/tstest": "^1.0.64",
|
||||
"@pushrocks/tapbundle": "^4.0.8",
|
||||
"@types/node": "^17.0.21",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pushrocks/smarthash": "^2.1.6",
|
||||
"@pushrocks/smartlog": "^2.0.24",
|
||||
"@pushrocks/smartlog-interfaces": "^2.0.15"
|
||||
"@pushrocks/smarthash": "^2.1.10",
|
||||
"@pushrocks/smartlog": "^2.0.44",
|
||||
"@pushrocks/smartlog-interfaces": "^2.0.23"
|
||||
},
|
||||
"files": [
|
||||
"ts/**/*",
|
||||
|
@ -1,11 +1,14 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
|
||||
import * as smartlog from '@pushrocks/smartlog';
|
||||
import * as smarthash from '@pushrocks/smarthash';
|
||||
|
||||
import * as smartlogReceiver from '../ts/index';
|
||||
|
||||
let testReceiver: smartlogReceiver.SmartlogReceiver;
|
||||
let testSmartlog = smartlog.defaultLogger;
|
||||
let testSmartlog = new smartlog.Smartlog({
|
||||
logContext: null,
|
||||
minimumLogLevel: 'debug'
|
||||
});
|
||||
testSmartlog.enableConsole();
|
||||
|
||||
tap.test('should create a valid SmartlogReceiver', async () => {
|
||||
@ -16,7 +19,7 @@ tap.test('should create a valid SmartlogReceiver', async () => {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
expect(testReceiver).to.be.instanceof(smartlogReceiver.SmartlogReceiver);
|
||||
expect(testReceiver).toBeInstanceOf(smartlogReceiver.SmartlogReceiver);
|
||||
});
|
||||
|
||||
tap.test('should receive a message', async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user