Bummar is a module to create test files base on your source dir.
npm i -g bummar
Simplest use
generate for every .js in your src folder a .spec.js in folder test.
bummar
Arguments
-d
source folder.default to src
-t
target folder.default to test
Initial structure
const assert = require('assert');
describe('{fileName}', () => {
beforeAll(() => {});
beforeEach(() => {});
afterEach(() => {});
afterAll(() => {});
it('', () => {
assert.strictEqual(true, true);
});
});