Skip to content

Commit

Permalink
chore: remove unneeded await
Browse files Browse the repository at this point in the history
thepiwo committed Aug 22, 2023
1 parent 6de93f6 commit cf4b19e
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cli/test.md
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ before(async () => ...)

Initialize the default SDK instance with provided utils:
```js
aeSdk = await utils.getSdk();
aeSdk = utils.getSdk();
```

Get the filesystem definition for (custom) `includes` of the given contract:
2 changes: 1 addition & 1 deletion src/init/update-artifacts/test/exampleTest.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ describe('ExampleContract', () => {
let contract;

before(async () => {
aeSdk = await utils.getSdk();
aeSdk = utils.getSdk();

// a filesystem object must be passed to the compiler if the contract uses custom includes
const fileSystem = utils.getFilesystem(EXAMPLE_CONTRACT_SOURCE);

0 comments on commit cf4b19e

Please sign in to comment.