Skip to content

Commit

Permalink
chore: reverts change to trap test
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Oct 15, 2024
1 parent d983a95 commit a559435
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions e2e/node/basic/trap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ import util from 'util';
import exec from 'child_process';
const execAsync = util.promisify(exec.exec);

// eslint-disable-next-line prefer-const
let stdout;
try {
({ stdout } = await execAsync('dfx canister id trap'));
} catch {
await execAsync('dfx deploy trap');
({ stdout } = await execAsync('dfx canister id trap'));
}
const { stdout } = await execAsync('dfx canister id trap');

export const idlFactory = ({ IDL }) => {
return IDL.Service({
Expand Down

0 comments on commit a559435

Please sign in to comment.