File: replace-ava-by-tape.diff

package info (click to toggle)
node-parse-ms 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 136 kB
  • sloc: javascript: 426; makefile: 4
file content (35 lines) | stat: -rw-r--r-- 645 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Description: replace ava by tape
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-09-20

--- a/test.js
+++ b/test.js
@@ -1,4 +1,4 @@
-import test from 'ava';
+import test from 'tape';
 import parseMilliseconds from './index.js';
 
 const toBigInt = milliseconds => {
@@ -177,6 +177,7 @@
 		microseconds: 0,
 		nanoseconds: 0,
 	});
+	t.end();
 });
 
 test('handle negative millisecond values', t => {
@@ -212,6 +213,7 @@
 			t.is(negative[unit], -positive[unit]);
 		}
 	}
+	t.end();
 });
 
 test('errors', t => {
@@ -226,4 +228,5 @@
 	t.throws(() => {
 		parseMilliseconds(Number.POSITIVE_INFINITY);
 	});
+	t.end();
 });