Skip to content

Commit

Permalink
Merge pull request #452 from ruby/pr-1f808c57221901544d40d2b9a6c9e6ea…
Browse files Browse the repository at this point in the history
…c8d44f7e
  • Loading branch information
kateinoigakukun authored May 6, 2024
2 parents e997c75 + 2538588 commit b2bf55a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ const test = async (instantiate) => {
const rootTestFile = "/__root__/test/test_unit.rb";
const { vm, wasi } = await instantiate(rootTestFile);

Error.stackTraceLimit = Infinity;

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

const main = async () => {
Error.stackTraceLimit = Infinity;
if (process.env.ENABLE_COMPONENT_TESTS && process.env.ENABLE_COMPONENT_TESTS !== 'false') {
await test(instantiateComponent);
} else {
Expand Down

0 comments on commit b2bf55a

Please sign in to comment.