Skip to content

Commit

Permalink
fix: test problem
Browse files Browse the repository at this point in the history
  • Loading branch information
spence-s committed Jan 15, 2024
1 parent 3868690 commit 4deeeec
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 3 deletions.
202 changes: 202 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
"lint": "xo && npm run lint:md",
"lint:md": "prettier --parser markdown '**/*.md' --check",
"prepare": "husky install",
"test": "node --trace-warnings --require tsx/cjs --test test/index.ts ",
"test": "NODE_NO_WARNINGS=1 node --trace-warnings --require tsx/cjs --test test/index.ts | tap-mocha-reporter spec",
"test:coverage": "NODE_NO_WARNINGS=1 c8 node --require tsx/cjs --test test/index.ts",
"test:watch": "node --require tsx/cjs --watch --test test/index.ts",
"test:watch": "NODE_NO_WARNINGS=1 node --require tsx/cjs --watch --test test/index.ts",
"vscode:prepublish": "npm run check && npm run build"
},
"contributes": {
Expand Down Expand Up @@ -214,6 +214,7 @@
"prettier": "^3.1.1",
"prettier-plugin-packagejson": "^2.4.9",
"rimraf": "^5.0.5",
"tap-mocha-reporter": "^5.0.4",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"webfont": "^6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion test/lsp/code-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Server code actions', async () => {
server = new Server({isTest: true});
server.documents = documents;
mock.method(server, 'log', noop);
mock.method(server, 'getDocumentFormatting', noop);
mock.method(server, 'getDocumentFormatting');
});

test.afterEach(async () => {
Expand Down

0 comments on commit 4deeeec

Please sign in to comment.