Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eternauta1337 committed Mar 9, 2024
1 parent 986dede commit 3f029f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ethernaut-network/test/tasks/list.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ describe('list', function () {
before('add some networks', async function () {
const networks = storage.readNetworks()
if (!('test__3' in networks)) networks.test__3 = { url: 'poop' }
if (!('test__4' in networks)) networks.test__4 = { url: 'poop' }
if (!('test__4' in networks))
networks.test__4 = { url: 'http://www.google.com' }
networks.activeNetwork = 'test__4'
storage.storeNetworks(networks)
})
Expand All @@ -26,7 +27,7 @@ describe('list', function () {

it('prints the networks', async function () {
terminal.has('- test__3 (poop)')
terminal.has('> test__4 (poop)')
terminal.has('> test__4 (http://www.google.com)')
})
})
})

0 comments on commit 3f029f8

Please sign in to comment.