aswi2020vldc-gitlab/templetes/node_modules/es-abstract/test/es6.js @ 143404cb
1 | 3a515b92 | cagy | 'use strict'; |
---|---|---|---|
2 | |||
3 | var test = require('tape'); |
||
4 | |||
5 | var ES = require('../'); |
||
6 | var ES6 = ES.ES6; |
||
7 | var ES2015 = ES.ES2015; |
||
8 | var ES6entry = require('../es6'); |
||
9 | |||
10 | test('legacy es6 export', function (t) { |
||
11 | t.equal(ES6, ES2015, 'main ES6 === main ES2015'); |
||
12 | t.end(); |
||
13 | });
|
||
14 | |||
15 | test('legacy es6 entry point', function (t) { |
||
16 | t.equal(ES6, ES6entry, 'main ES6 === ES6 entry point'); |
||
17 | t.end(); |
||
18 | });
|