Skip to content

Commit

Permalink
tests: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard committed Jan 24, 2025
1 parent 5c35a3a commit 65f1d0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/clarinet-sdk/node/tests/simnet-usage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ describe("the simnet can execute commands", () => {

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

expect(async () => {
Expand Down

0 comments on commit 65f1d0b

Please sign in to comment.