Skip to content

Commit 65f1d0b

Browse files
committed
tests: fix tests
1 parent 5c35a3a commit 65f1d0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/clarinet-sdk/node/tests/simnet-usage.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ describe("the simnet can execute commands", () => {
439439

440440
describe("the sdk handles multiple manifests project", () => {
441441
it("handle invalid project", () => {
442-
const manifestPath = path.join(process.cwd(), "tests", "fixtures", "contracts", "invalid.clar");
442+
// the lsp displays paths with the unix notation, hence why we are hardcoding the contract path with `/`
443+
const manifestPath = `${path.join(process.cwd(), "node")}/tests/fixtures/contracts/invalid.clar`;
443444
const expectedErr = `error: unexpected ')'\n--> ${manifestPath}:5:2\n)) ;; extra \`)\`\n`;
444445

445446
expect(async () => {

0 commit comments

Comments
 (0)