projects
/
squeep-chores
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use log-helper, remove common.js
[squeep-chores]
/
test
/
lib
/
chores.js
diff --git
a/test/lib/chores.js
b/test/lib/chores.js
index 2e066d219315bf8a41286b90f23cd7f2a83b88db..7d8b91d0d6aa8d3ffea6d8a347f8c03176eb3f4a 100644
(file)
--- a/
test/lib/chores.js
+++ b/
test/lib/chores.js
@@
-5,7
+5,6
@@
const Chores = require('../../lib/chores');
const { ChoreError } = require('../../lib/errors');
const { StubLogger } = require('@squeep/test-helper');
const Chores = require('../../lib/chores');
const { ChoreError } = require('../../lib/errors');
const { StubLogger } = require('@squeep/test-helper');
-const { fileScope } = require('../../lib/common');
const assert = require('assert');
const sinon = require('sinon');
const assert = require('assert');
const sinon = require('sinon');
@@
-103,11
+102,6
@@
describe('Chores', function () {
const e = new ChoreError();
assert.strictEqual(e.name, 'ChoreError');
});
const e = new ChoreError();
assert.strictEqual(e.name, 'ChoreError');
});
- it('covers unused log helper line', function () {
- const fs = fileScope('/foo/bar/index.js');
- const s = fs('m');
- assert(s.endsWith(':bar:m'), s);
- });
});
});
-}); // Chores
\ No newline at end of file
+}); // Chores