Skip to content

Commit 14528e7

Browse files
committed
tests: fix tests
1 parent 7e39064 commit 14528e7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci-sdk.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ jobs:
9191
with:
9292
name: wasm-artifacts
9393
path: components/clarinet-sdk-wasm
94-
- name: Display structure of downloaded files
95-
run: ls -R components/clarinet-sdk-wasm
9694

9795
- name: Install dependencies
9896
run: npm ci

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 = `${process.cwd()}/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)