requires.js 494 B

123456789101112131415
  1. /* eslint strict: 0, global-require: 0 */
  2. 'use strict';
  3. const test = require('tape');
  4. test('all entry points parse', (t) => {
  5. t.doesNotThrow(() => require('..'), 'index does not throw');
  6. t.doesNotThrow(() => require('../base'), 'base does not throw');
  7. t.doesNotThrow(() => require('../legacy'), 'legacy does not throw');
  8. t.doesNotThrow(() => require('../whitespace'), 'whitespace does not throw');
  9. t.doesNotThrow(() => require('../hooks'), 'hooks does not throw');
  10. t.end();
  11. });