Skip to content

Commit ac2803b

Browse files
committed
account for new bun error output
1 parent 2238906 commit ac2803b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Browser/ComponentTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ public function it_logs_console_errors_when_debug_mode_disabled()
195195
HTML)
196196
->assertScript(<<< 'JS'
197197
document.querySelector('script[data-module="~/nonexistent-module"').innerHTML
198-
JS, 'throw "BUNDLING ERROR: Could not resolve: "~/nonexistent-module". Maybe you need to "bun install"?"');
198+
.startsWith('throw "BUNDLING ERROR: Could not resolve: "~/nonexistent-module". Maybe you need to "bun install"?')
199+
JS, true);
199200
}
200201
}

0 commit comments

Comments
 (0)