Skip to content

Commit

Permalink
ts fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix committed Jul 31, 2024
1 parent 688e8de commit 93e0ae2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 6 additions & 5 deletions tests/programs.test.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import test from 'tape'
import { readFileSync } from 'node:fs'

import { promiseRunner, charlieStashSeed, setupTest } from './testing-utils'
import { AddProgramParams } from 'src/flows/programs/types'
import { addProgram } from 'src/flows/programs/add'
import { viewPrograms } from 'src/flows/programs/view'
import { removeProgram } from 'src/flows/programs/remove'
import { addProgram } from '../src/flows/programs/add'
import { viewPrograms } from '../src/flows/programs/view'
import { removeProgram } from '../src/flows/programs/remove'
import { AddProgramParams } from '../src/flows/programs/types'

const networkType = 'two-nodes'

test('programs', async t => {
const { run, entropy } = await setupTest(t, { seed: charlieStashSeed, networkType })
await run('charlie stash register', entropy.register())
const noopProgram: any = readFileSync(
'./programs/program_noop.wasm'
new URL('./programs/program_noop.wasm', import.meta.url)
)
const newPointer = await run(
'deploy',
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"exclude": [
"node_modules",
"dist",
"build",
"examples"
"tests"
]
}

0 comments on commit 93e0ae2

Please sign in to comment.