Fix test_postrun_exception on node 14.x. helps #11062
diff --git a/tests/test_core.py b/tests/test_core.py
index a32399f..46342eb 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -8131,6 +8131,10 @@
     'unconditional': (False,),
   })
   def test_emscripten_lazy_load_code(self, conditional):
+    # don't minify JS whitespace, as it includes the entire program in the
+    # stack trace, which confuses our checking if the expected text is in
+    # the output
+    self.emcc_args += ['-g1']
     self.set_setting('ASYNCIFY', 1)
     self.set_setting('ASYNCIFY_LAZY_LOAD_CODE', 1)
     self.set_setting('ASYNCIFY_IGNORE_INDIRECT', 1)
@@ -8468,6 +8472,10 @@
     # compilation failed handler, and will be printed to stderr.
     self.add_post_run('ThisFunctionDoesNotExist()')
     src = open(path_from_root('tests', 'core', 'test_hello_world.c')).read()
+    # don't minify JS whitespace, as it includes the entire program in the
+    # stack trace, which confuses our checking if the expected text is in
+    # the output
+    self.emcc_args += ['-g1']
     self.build(src, self.get_dir(), 'src.c')
     output = run_js('src.c.o.js', assert_returncode=None, stderr=STDOUT)
     self.assertNotContained('failed to asynchronously prepare wasm', output)