kizu 3.7.3 → 3.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,8 +60,8 @@ function greet(name: string): string {
|
|
|
60
60
|
return `hello, ${name}`;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
test('greet
|
|
64
|
-
assert.equal(
|
|
63
|
+
test('greet', (assert) => {
|
|
64
|
+
assert.equal(greet('world'), 'hello, world');
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
// Error handling
|
|
@@ -70,7 +70,7 @@ function throwError(): never {
|
|
|
70
70
|
throw new Error('oops');
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
test('throwError
|
|
73
|
+
test('throwError', (assert) => {
|
|
74
74
|
assert.throws(() => throwError(), /oops/);
|
|
75
75
|
});
|
|
76
76
|
|
|
@@ -80,7 +80,7 @@ async function fetchData(): Promise<string> {
|
|
|
80
80
|
return Promise.resolve('data');
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
test('fetchData
|
|
83
|
+
test('fetchData', async (assert) => {
|
|
84
84
|
const data = await fetchData();
|
|
85
85
|
assert.equal(data, 'data');
|
|
86
86
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kizu",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.5",
|
|
4
4
|
"description": "An easy-to-use, fast, and defensive Typescript/Javascript test runner designed to help you to write simple, readable, and maintainable tests.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|