Skip to content

Commit 77f8331

Browse files
committed
add some casts to deal with interem minor type issues
1 parent b5daa34 commit 77f8331

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/stable/demo/hello_world/test/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ const helloWorldCanister = createActor(getCanisterId(canisterName), {
1212
}
1313
});
1414

15-
runTests(getTests(helloWorldCanister));
15+
// TODO get rid of this cast to any once the dfx generate command uses @icp-sdk/core instead of the old @dfinity packages
16+
runTests(getTests(helloWorldCanister as any));

examples/stable/demo/llm/test/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ const actor = createActor(getCanisterId(canisterName), {
1212
}
1313
});
1414

15-
runTests(getTests(actor));
15+
// TODO get rid of this cast to any once the dfx generate command uses @icp-sdk/core instead of the old @dfinity packages
16+
runTests(getTests(actor as any));

0 commit comments

Comments
 (0)