We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7b8ba5 commit 4fccf5aCopy full SHA for 4fccf5a
devalue.test.js
@@ -22,38 +22,6 @@ function compare(name, fn) {
22
test.run();
23
}
24
25
-/**
26
- *
27
- * @param {string} name
28
- * @param {(...args: any[]) => void} fn
29
- */
30
-function throws(name, fn) {
31
- try {
32
- fn();
33
- console.log(`❌ ${name}`);
34
- failed += 1;
35
- } catch (e) {
36
- console.log(`✅ ${name}`);
37
- passed += 1;
38
- }
39
-}
40
-
41
42
43
44
45
46
-function allows(name, fn) {
47
48
49
50
51
52
- console.log(`❌ ${name} (${e.message})`);
53
54
55
56
57
compare('basics', (t) => {
58
t('number', 42, '42');
59
t('negative number', -42, '-42');
0 commit comments