chore: legacy

This commit is contained in:
cha0s 2022-03-13 13:59:09 -05:00
parent cdc582168d
commit 300f1aef57
2 changed files with 0 additions and 3 deletions

View File

@ -47,7 +47,6 @@ export default class Flecks {
flecks = {},
platforms = [],
} = {}) {
this.originalConfig = JSON.parse(JSON.stringify(config));
this.config = {
...Object.fromEntries(Object.keys(flecks).map((path) => [path, {}])),
...config,

View File

@ -6,8 +6,6 @@ const testOne = require('./one');
it('can create an empty instance', () => {
const flecks = new Flecks();
expect(Object.keys(flecks.originalConfig).length)
.to.equal(0);
expect(Object.keys(flecks.config).length)
.to.equal(0);
expect(Object.keys(flecks.hooks).length)