From 0bb74a3a64c3bd58d4e53f6b1b12ed7339b0d352 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Tue, 14 Jun 2022 22:37:58 +0100 Subject: [PATCH] fix(tests): Prevent spurious transpilation warnings For some reason when the debug module loader encounters ES modules it starts to complain about being unable to transpile some ES202x features in other (non-ESM) modules, even though it doesn't normally try to transpile those. Since uncompressed-mode testing is almost exclusively on modern browsers we don't care about transpiling these features, so suppress the warnings instead. --- tests/bootstrap.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/bootstrap.js b/tests/bootstrap.js index 02cb145e0..efa690616 100644 --- a/tests/bootstrap.js +++ b/tests/bootstrap.js @@ -122,6 +122,9 @@ document.write( ''); + // Prevent spurious transpilation warnings. + document.write(''); + // Load dependency graph info from the specified deps files - // typically just build/deps.js. To update deps after changing // any module's goog.requires / imports, run `npm run build:deps`.