Skip to content

Commit

Permalink
updated test to run on separate port for arlocal
Browse files Browse the repository at this point in the history
  • Loading branch information
twilson63 committed Oct 24, 2022
1 parent 780b853 commit c5ac771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/stamp-protocol-exchange.test.ts
Expand Up @@ -10,12 +10,12 @@ const STAMP_SRC = fs.readFileSync('./test/contracts/stamp.js', 'utf-8')
LoggerFactory.INST.logLevel("fatal");

// the 'forLocal' version uses by default inMemory cache - so no cache files are saved between test runs
const warp = WarpFactory.forLocal();
const warp = WarpFactory.forLocal(1994);
const STAMP = 1e12
const BAR = 1e6

test('buy and sell stampcoin', async () => {
let arLocal = new ArLocal(1984, false);
let arLocal = new ArLocal(1994, false);
await arLocal.start();
// setup - generate contracts and wallets
const result = await setup()
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
@@ -1,6 +1,7 @@
import { defineConfig } from 'vitest/config'

export default defineConfig({

test: {
// ...
},
Expand Down

0 comments on commit c5ac771

Please sign in to comment.