Skip to content

Commit 813a377

Browse files
committed
Remove Demitasse test resolver
This is not needed at all. We can just import temporal.mjs in the one place in the Demitasse tests where we need a Temporal object. (One other place, it was imported unnecessarily; remove that.)
1 parent b5eabce commit 813a377

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed

polyfill/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"browser": "dist/index.umd.js",
88
"types": "index.d.ts",
99
"scripts": {
10-
"test": "node --loader ./test/resolve.source.mjs ./test/all.mjs",
10+
"test": "node ./test/all.mjs",
1111
"test-cookbook": "npm run build && TEST=all npm run test-cookbook-one",
1212
"test-cookbook-one": "node --loader ./test/resolve.cookbook.mjs ../docs/cookbook/$TEST.mjs",
1313
"test262": "npm run build262 && node runtest262.mjs",

polyfill/test/datemath.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { reporter } = Pretty;
1414
import { strict as assert } from 'assert';
1515
const { equal } = assert;
1616

17-
import * as Temporal from 'proposal-temporal';
17+
import * as Temporal from '../lib/temporal.mjs';
1818

1919
describe('Date.since(simple, simple)', () => {
2020
build('Before Leap Day', '2020-01-03', '2020-02-15');

polyfill/test/ecmascript.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const { deepEqual, equal, throws } = assert;
1010
import bigInt from 'big-integer';
1111
import { readFileSync } from 'fs';
1212

13-
import 'proposal-temporal';
1413
import * as ES from '../lib/ecmascript.mjs';
1514

1615
describe('ECMAScript', () => {

polyfill/test/resolve.source.mjs

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)