-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b69488
commit 2481799
Showing
4 changed files
with
41 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
// import './getViteFromWorld'; | ||
const assert = require('assert'); | ||
|
||
import walletTest from './wallet'; | ||
import dexTest from './dex'; | ||
import receiveAccountBlock from './receiveAccountBlock'; | ||
|
||
async function TestFunc() { | ||
await walletTest(); | ||
await dexTest(); | ||
await receiveAccountBlock(); | ||
} | ||
describe('RPC Test', function () { | ||
it('wallet test', async () => { | ||
await walletTest(); | ||
assert.ok(true); | ||
}).timeout(600000); | ||
|
||
TestFunc().then(() => { | ||
console.log("Wallet Happy Ending, yes!"); | ||
}).catch(err => { | ||
console.log("Oooooh, Got Error!", err); | ||
it('dex test', async () => { | ||
await dexTest(); | ||
assert.ok(true); | ||
}).timeout(600000); | ||
|
||
it('receive txs', async () => { | ||
await receiveAccountBlock(); | ||
assert.ok(true); | ||
}).timeout(600000); | ||
}); | ||
|
||
// async function TestFunc() { | ||
// await walletTest(); | ||
// await dexTest(); | ||
// await receiveAccountBlock(); | ||
// } | ||
|
||
// TestFunc().then(() => { | ||
// console.log("Wallet Happy Ending, yes!"); | ||
// }).catch(err => { | ||
// console.log("Oooooh, Got Error!", err); | ||
// }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters