Skip to content

Commit

Permalink
try these
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jul 5, 2024
1 parent b518281 commit 0f8bb5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/audio_recorder/test/tests.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { ActorSubclass } from '@dfinity/agent';
import { expect, it, Test } from 'azle/test';

// @ts-ignore this path may not exist when these tests are imported into other test projects
import {
_SERVICE,
Recording,
User
// @ts-ignore this path may not exist when these tests are imported into other test projects
} from './dfx_generated/audio_recorder/audio_recorder.did';

// TODO to be more thorough we could test all of the error cases as well
Expand Down
2 changes: 1 addition & 1 deletion examples/sqlite/test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function getTests(canisterId: string): Test {
const deleteUserResponseJson = await deleteUserResponse.json();

expect(deleteUserResponseJson).toBe(createUserResponseJson.id);
});
}, 10_000);

it('/posts delete', async () => {
const createPostResponse = await fetch(`${origin}/posts`, {
Expand Down

0 comments on commit 0f8bb5d

Please sign in to comment.