Skip to content

Commit 907f1d3

Browse files
committed
Ensure support for the latest version of deno.
1 parent 8fa6a25 commit 907f1d3

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ test-plugins: ${TARGETS}
8282
.PHONY: test-deno
8383
test-deno: ${TARGETS} build/tests.esm.js
8484
if [ ! -f ~/.deno/bin/deno ]; then \
85-
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.36.0; \
85+
curl -fsSL https://deno.land/x/install/install.sh | sh; \
8686
fi;
87-
~/.deno/bin/deno test-deno/deno-test.js
87+
~/.deno/bin/deno run test-deno/deno-test.js
8888

8989
.PHONY: travis-coverage
9090
travis-coverage: clean coverage

lib/types.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,8 @@ module.exports = function (expect) {
766766
'stack',
767767
'stackArray',
768768
'__stackCleaned__',
769-
'isOperational', // added by the promise implementation
769+
'isOperational', // added by the promise implementation,
770+
'__callSiteEvals', // attached by deno
770771
].reduce((result, prop) => {
771772
result[prop] = true;
772773
return result;

test-deno/deno-test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import './deno-setup.js';
33
import '../test/common.js';
44
import '../build/tests.esm.js';
55

6+
window.location = {
7+
search: '',
8+
};
9+
610
window.mocha.run((failureCount) => {
711
Deno.exit(failureCount > 0 ? 1 : 0);
812
});

0 commit comments

Comments
 (0)