Skip to content

Commit b2bf55a

Browse files
Merge pull request #452 from ruby/pr-1f808c57221901544d40d2b9a6c9e6eac8d44f7e
2 parents e997c75 + 2538588 commit b2bf55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/npm-packages/ruby-wasm-wasi/tools/run-test-unit.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ const test = async (instantiate) => {
201201
const rootTestFile = "/__root__/test/test_unit.rb";
202202
const { vm, wasi } = await instantiate(rootTestFile);
203203

204-
Error.stackTraceLimit = Infinity;
205204

206205
await vm.evalAsync(`
207206
require 'test/unit'
@@ -212,6 +211,7 @@ const test = async (instantiate) => {
212211
};
213212

214213
const main = async () => {
214+
Error.stackTraceLimit = Infinity;
215215
if (process.env.ENABLE_COMPONENT_TESTS && process.env.ENABLE_COMPONENT_TESTS !== 'false') {
216216
await test(instantiateComponent);
217217
} else {

0 commit comments

Comments
 (0)