Skip to content

Commit df10cc8

Browse files
committed
tests: up
1 parent d88c83d commit df10cc8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Diff for: src/instances/rundler.test.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ test('behavior: instance errored (duplicate ports)', async () => {
5555
await instance_1.start()
5656
await expect(() =>
5757
instance_2.start(),
58-
).rejects.toThrowErrorMatchingInlineSnapshot(
59-
`[Error: Failed to start process "rundler": Error: Address already in use (os error 98)]`,
60-
)
58+
).rejects.toThrowError('Failed to start process "rundler"')
6159
})
6260

6361
test('behavior: start and stop multiple times', async () => {
@@ -91,9 +89,7 @@ test('behavior: can subscribe to stderr', async () => {
9189
instance_2.on('stderr', (message) => messages.push(message))
9290
await expect(() =>
9391
instance_2.start(),
94-
).rejects.toThrowErrorMatchingInlineSnapshot(
95-
`[Error: Failed to start process "rundler": Error: Address already in use (os error 98)]`,
96-
)
92+
).rejects.toThrowError('Failed to start process "rundler"')
9793
})
9894

9995
test('behavior: exit', async () => {

0 commit comments

Comments
 (0)