diff --git a/Makefile b/Makefile index 00b9995f8..811af1280 100644 --- a/Makefile +++ b/Makefile @@ -82,9 +82,9 @@ test-plugins: ${TARGETS} .PHONY: test-deno test-deno: ${TARGETS} build/tests.esm.js if [ ! -f ~/.deno/bin/deno ]; then \ - curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.36.0; \ + curl -fsSL https://deno.land/x/install/install.sh | sh; \ fi; - ~/.deno/bin/deno test-deno/deno-test.js + ~/.deno/bin/deno run test-deno/deno-test.js .PHONY: travis-coverage travis-coverage: clean coverage diff --git a/lib/types.js b/lib/types.js index b00bdecb0..dacca3687 100644 --- a/lib/types.js +++ b/lib/types.js @@ -766,7 +766,8 @@ module.exports = function (expect) { 'stack', 'stackArray', '__stackCleaned__', - 'isOperational', // added by the promise implementation + 'isOperational', // added by the promise implementation, + '__callSiteEvals', // attached by deno ].reduce((result, prop) => { result[prop] = true; return result; diff --git a/test-deno/deno-test.js b/test-deno/deno-test.js index d70ec3297..f9a4e6f3f 100644 --- a/test-deno/deno-test.js +++ b/test-deno/deno-test.js @@ -3,6 +3,10 @@ import './deno-setup.js'; import '../test/common.js'; import '../build/tests.esm.js'; +window.location = { + search: '', +}; + window.mocha.run((failureCount) => { Deno.exit(failureCount > 0 ? 1 : 0); });