Skip to content

Commit

Permalink
rename "jump-start network"
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix committed Oct 15, 2024
1 parent a09027f commit 1453fb3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/end-to-end.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const networkType = 'four-nodes'

const msg = Buffer.from('Hello world: signature from entropy!').toString('hex')

test.only('End To End', async (t) => {
test('End To End', async (t) => {
const run = promiseRunner(t)
await run('network up', spinNetworkUp(networkType))
t.teardown(async () => {
Expand Down Expand Up @@ -53,7 +53,7 @@ test.only('End To End', async (t) => {
'entropy ready',
entropy.ready
)
await run('jump Start Network', jumpStartNetwork(entropy))
await run('jump-start network', jumpStartNetwork(entropy))

/* deploy */
// const bareBones: any = readFileSync(
Expand Down
5 changes: 2 additions & 3 deletions tests/four-nodes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import {

const networkType = 'four-nodes'


test('test the four-nodes docker script for subgroups', async (t) => {
test('test the four-nodes docker script', async (t) => {
const run = promiseRunner(t)
// context: all run does is checks that it runs
await run('network up', spinNetworkUp(networkType))
Expand Down Expand Up @@ -48,7 +47,7 @@ test('test the four-nodes docker script for subgroups', async (t) => {
})

await run('entropy ready', entropy.ready)
await run('jump Start Network', jumpStartNetwork(entropy))
await run('jump-start network', jumpStartNetwork(entropy))
const validators = (await run('validators', entropy.substrate.query.session.validators())).toHuman()
const signingGroup = (await run('signingGroup', entropy.substrate.query.stakingExtension.signers())).toHuman()
console.log('validators, signingGroup', validators, signingGroup)
Expand Down
2 changes: 1 addition & 1 deletion tests/programs-dev.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test('Programs#dev: all methods', async (t) => {
'entropy ready',
entropy.ready
)
await run('jump Start Network', jumpStartNetwork(entropy))
await run('jump-start network', jumpStartNetwork(entropy))


// deploy
Expand Down
2 changes: 1 addition & 1 deletion tests/programs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test('Programs: account programs get', async (t) => {
'entropy ready',
entropy.ready
)
await run('jump Start Network', jumpStartNetwork(entropy))
await run('jump-start network', jumpStartNetwork(entropy))


// deploy
Expand Down
4 changes: 2 additions & 2 deletions tests/sign.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function setupTest (t: Test): Promise<{ entropy: Entropy; run: any }> {
endpoint: 'ws://127.0.0.1:9944',
})
await run('entropy ready', entropy.ready)
await run('jump Start Network', jumpStartNetwork(entropy))
await run('jump-start network', jumpStartNetwork(entropy))
await run('register', entropy.register())

return { run, entropy }
Expand Down Expand Up @@ -199,4 +199,4 @@ test('Sign:issue#380', async (t) => {


t.end()
})
})
2 changes: 1 addition & 1 deletion tests/transfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('Transfer', async (t) => {
endpoint: 'ws://127.0.0.1:9944',
})
await run('charlie ready', charlie.ready)
await run('jump Start Network', jumpStartNetwork(charlie))
await run('jump-start network', jumpStartNetwork(charlie))

const naynaySeed = createSeed()
const naynayKeyring = new Keyring({ seed: naynaySeed, debug: true })
Expand Down

0 comments on commit 1453fb3

Please sign in to comment.