Skip to content

Commit

Permalink
up to 48
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Oct 30, 2024
1 parent 8bc6e16 commit ccf35c0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions __test__/check_dependencies/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,16 @@ test("Test error syntax code", () => {
}
});

test("Test error syntax code", () => {
const cwd = path.resolve(dirname(__filename), "features", "error_syntax");
const current = "b.js";
expect(() => {
checkDependencies(current, {
cwd,
});
}).toThrowError();
});

function winPath(path: string) {
return path.replace(/\\/g, "/");
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shined/source-code-diagnosis",
"version": "0.0.47",
"version": "0.0.48",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down

0 comments on commit ccf35c0

Please sign in to comment.