Skip to content

Commit

Permalink
Drop chai dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli committed Feb 1, 2024
1 parent dee7d68 commit dda66dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"url": "https://github.com/viperproject/prusti-assistant/issues"
},
"homepage": "https://github.com/viperproject/prusti-assistant",
"main": "./out/extension",
"engines": {
"vscode": "^1.60.0",
"node": "*"
Expand All @@ -29,7 +30,6 @@
"activationEvents": [
"onLanguage:rust"
],
"main": "./out/extension",
"contributes": {
"snippets": [
{
Expand Down Expand Up @@ -177,7 +177,6 @@
"package": "vsce package --no-dependencies"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
Expand All @@ -187,7 +186,6 @@
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vscode/test-electron": "^2.3.9",
"chai": "^5.0.3",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.4",
Expand Down
3 changes: 1 addition & 2 deletions src/test/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ describe("Extension", () => {
};
}

const CHAI = await import("chai");
CHAI.expect(plainDiagnostics).to.deep.equal(expectedDiagnostics.diagnostics);
assert.deepEqual(plainDiagnostics, expectedDiagnostics.diagnostics);
});
});
});

0 comments on commit dda66dd

Please sign in to comment.