Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit ffe8dab

Browse files
zbranieckicaridy
authored andcommitted
Add Test262Error to WRAPPER_START for tests to pass (#212)
1 parent 7772261 commit ffe8dab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tasks/update-tests.js

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ var WRAPPER_START = [
1919
'function fnGlobalObject() {',
2020
' return __globalObject;',
2121
'}',
22+
'function Test262Error(message) {',
23+
' this.message = message || "";',
24+
'}',
2225

2326
// Make sure polyfilled ECMA-262 functions are in place for the tests
2427
'IntlPolyfill.__applyLocaleSensitivePrototypes();'

0 commit comments

Comments
 (0)