Internet-programming_PIbd-2.../Library/node_modules/eslint-config-airbnb-base/test/requires.js

14 lines
358 B
JavaScript
Raw Normal View History

2023-11-30 18:35:42 +04:00
/* eslint strict: 0, global-require: 0 */
'use strict';
const test = require('tape');
test('all entry points parse', (t) => {
t.doesNotThrow(() => require('..'), 'index does not throw');
t.doesNotThrow(() => require('../legacy'), 'legacy does not throw');
t.doesNotThrow(() => require('../whitespace'), 'whitespace does not throw');
t.end();
});