File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ test('default', async () => {
4444} )
4545
4646test ( 'behavior: instance errored (duplicate ports)' , async ( ) => {
47- const instance_1 = defineInstance ( { port : 8545 } )
48- const instance_2 = defineInstance ( { port : 8545 } )
47+ const instance_1 = defineInstance ( { port : 8546 } )
48+ const instance_2 = defineInstance ( { port : 8546 } )
4949
5050 await instance_1 . start ( )
5151 await expect ( ( ) => instance_2 . start ( ) ) . rejects . toThrowError ( 'Failed to start' )
@@ -76,8 +76,8 @@ test('behavior: can subscribe to stdout', async () => {
7676test ( 'behavior: can subscribe to stderr' , async ( ) => {
7777 const messages : string [ ] = [ ]
7878
79- const instance_1 = defineInstance ( { port : 8545 } )
80- const instance_2 = defineInstance ( { port : 8545 } )
79+ const instance_1 = defineInstance ( { port : 8546 } )
80+ const instance_2 = defineInstance ( { port : 8546 } )
8181
8282 await instance_1 . start ( )
8383 instance_2 . on ( 'stderr' , ( message ) => messages . push ( message ) )
You can’t perform that action at this time.
0 commit comments