From 983609f19a4ef516c981d500494279bf43367255 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 4 Dec 2020 18:49:37 +0200 Subject: [PATCH] chore(datetime) rm unused --- common/datetime.spec.js | 1 - 1 file changed, 1 deletion(-) 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');