You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
370 B

4 years ago
  1. 'use strict';
  2. var test = require('tape');
  3. var ES = require('../');
  4. var ES7 = ES.ES7;
  5. var ES2016 = ES.ES2016;
  6. var ES7entry = require('../es7');
  7. test('legacy es7 export', function (t) {
  8. t.equal(ES7, ES2016, 'main ES7 === main ES2016');
  9. t.end();
  10. });
  11. test('legacy es7 entry point', function (t) {
  12. t.equal(ES7, ES7entry, 'main ES7 === ES7 entry point');
  13. t.end();
  14. });