diff --git a/common/datetime.spec.js b/common/datetime.spec.js index 3bf1576a..cc2aed16 100644 --- a/common/datetime.spec.js +++ b/common/datetime.spec.js @@ -46,7 +46,6 @@ test('common: 0 before number', (t) => { }); test('common: datetime: wrong args', (t) => { - const fn = () => datetime({}); const [error] = tryCatch(datetime, {}); t.equal(error.message, 'date should be instanceof Date!', 'should throw');