supress info log for tests (#1763)

This commit is contained in:
Danish Arora
2024-01-02 16:30:18 +05:30
committed by GitHub
parent 9983549e8b
commit c81872ae0e
11 changed files with 27 additions and 26 deletions
+3 -3
View File
@@ -41,9 +41,9 @@
"check:lint": "eslint src tests",
"check:spelling": "cspell \"{README.md,{tests,src}/**/*.ts}\"",
"check:tsc": "tsc -p tsconfig.dev.json",
"test": "run-s test:*",
"test:node": "node ./src/run-tests.js \"tests/**/!(*.optional).spec.ts\"",
"test:optional": "node ./src/run-tests.js \"tests/**/@(*.optional).spec.ts\"",
"test": "NODE_ENV=test run-s test:*",
"test:node": "NODE_ENV=test node ./src/run-tests.js \"tests/**/!(*.optional).spec.ts\"",
"test:optional": "NODE_ENV=test node ./src/run-tests.js \"tests/**/@(*.optional).spec.ts\"",
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
},
"engines": {
+1 -1
View File
@@ -4,7 +4,7 @@ import sinon, { SinonSpy } from "sinon";
import { tearDownNodes } from "../src/index.js";
describe("Craete node", () => {
describe("Create node", () => {
let waku: LightNode;
let consoleInfoSpy: SinonSpy;