es6.js 370 B

123456789101112131415161718
  1. 'use strict';
  2. var test = require('tape');
  3. var ES = require('../');
  4. var ES6 = ES.ES6;
  5. var ES2015 = ES.ES2015;
  6. var ES6entry = require('../es6');
  7. test('legacy es6 export', function (t) {
  8. t.equal(ES6, ES2015, 'main ES6 === main ES2015');
  9. t.end();
  10. });
  11. test('legacy es6 entry point', function (t) {
  12. t.equal(ES6, ES6entry, 'main ES6 === ES6 entry point');
  13. t.end();
  14. });