b80b90229f
refs: https://github.com/TryGhost/Toolbox/issues/188 - some of our older packages used a pattern for linting which missed using test config for linting tests - we need this to be consistent so that we can add more eslint rules for testing - two packages also didn't use the lib pattern, which made the lint pattern error - so this was fixed as well
8 lines
161 B
JavaScript
8 lines
161 B
JavaScript
const assert = require('assert');
|
|
|
|
describe('Hello world', function () {
|
|
it('Runs a test', function () {
|
|
assert.ok(require('../index'));
|
|
});
|
|
});
|