mirror of
https://github.com/Extended-Thunder/send-later.git
synced 2025-12-11 20:37:48 +01:00
Prettier updates
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"prettier": "^3.3.3"
|
||||
"prettier": "^3.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -311,7 +311,8 @@ exports.init = function () {
|
||||
);
|
||||
|
||||
function TestComparison(func, a, comparison, b, ignoreSec, expected) {
|
||||
(a = new Date(a)), (b = new Date(b));
|
||||
a = new Date(a);
|
||||
b = new Date(b);
|
||||
const result = func(a, comparison, b, ignoreSec);
|
||||
return result === expected || `Expected "${expected}", got "${result}"`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user