From f8f0c585409f2d577f02039b9ca6dfe801f93ec7 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Mon, 1 Jul 2024 17:14:50 -0600 Subject: [PATCH] last of the easy fixes --- examples/rejections/test/test.ts | 2 +- examples/stable_b_tree_map_instruction_threshold/package.json | 2 +- .../end_to_end/candid_rpc/class_syntax/rejections/test/test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/rejections/test/test.ts b/examples/rejections/test/test.ts index 095ad78ff8..e0a19d2571 100644 --- a/examples/rejections/test/test.ts +++ b/examples/rejections/test/test.ts @@ -1,6 +1,6 @@ +import { getCanisterId } from 'azle/dfx'; import { runTests } from 'azle/test'; -import { getCanisterId } from '../../../dfx'; import { createActor } from './dfx_generated/rejections'; import { getTests } from './tests'; diff --git a/examples/stable_b_tree_map_instruction_threshold/package.json b/examples/stable_b_tree_map_instruction_threshold/package.json index 51a037c2a5..c09b14fd4e 100644 --- a/examples/stable_b_tree_map_instruction_threshold/package.json +++ b/examples/stable_b_tree_map_instruction_threshold/package.json @@ -1,5 +1,5 @@ { - "name": "stable_b_tree_map_instruction_threshold_end_to_end_test_canister_syntax", + "name": "stable_b_tree_map_instruction_threshold_end_to_end_test_functional_syntax", "scripts": { "pretest": "ts-node --transpile-only --ignore=false test/pretest.ts", "test": "jest" diff --git a/tests/end_to_end/candid_rpc/class_syntax/rejections/test/test.ts b/tests/end_to_end/candid_rpc/class_syntax/rejections/test/test.ts index f0fedee6e5..3092846bc8 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/rejections/test/test.ts +++ b/tests/end_to_end/candid_rpc/class_syntax/rejections/test/test.ts @@ -1,7 +1,7 @@ +import { getCanisterId } from 'azle/dfx'; import { runTests } from 'azle/test'; import { getTests } from 'rejections_end_to_end_test_functional_syntax/test/tests'; -import { getCanisterId } from '../../../dfx'; import { createActor } from './dfx_generated/rejections'; const rejectionsCanister = createActor(getCanisterId('rejections'), {