0.1.0 #7
Annotations
5 errors and 1 warning
test/index.test.ts > cli help:
test/index.test.ts#L23
Error: Snapshot `cli help 1` mismatched
- Expected
+ Received
@@ -1,9 +1,9 @@
"Commands:
- add
+ add Add two numbers. Use this if you have apples, and someone else has some other apples, and you want to know how many apples in total you have.
subtract Subtract two numbers. Useful if you have a number and you want to make it smaller.
- multiply
+ multiply Multiply two numbers together. Useful if you want to count the number of tiles on your bathroom wall and are short on time.
divide Divide two numbers. Useful if you have a number and you want to make it smaller and `subtract` isn't quite powerful enough for you.
Flags:
--full-errors Throw unedited raw errors rather than summarising to make more human-readable.
-h, --help Show help
❯ test/index.test.ts:23:6
|
test/index.test.ts > cli help add:
test/index.test.ts#L39
Error: Snapshot `cli help add 1` mismatched
- Expected
+ Received
"add
+ Add two numbers. Use this if you have apples, and someone else has some other apples, and you want to know how many apples in total you have.
+
Usage:
add [flags...]
Flags:
-h, --help Show help
- --left <number>
- --right <number>
+ --left <number> The first number
+ --right <number> The second number
"
❯ test/index.test.ts:39:18
|
test/index.test.ts > cli add failure:
test/index.test.ts#L81
Error: Snapshot `cli add failure 1` mismatched
- Expected
+ Received
"Validation error
- Expected number, received nan at "--right"
add
+ Add two numbers. Use this if you have apples, and someone else has some other apples, and you want to know how many apples in total you have.
+
Usage:
add [flags...]
Flags:
-h, --help Show help
- --left <number>
- --right <number>
+ --left <number> The first number
+ --right <number> The second number
"
❯ test/index.test.ts:81:18
|
test/index.test.ts > migrations union type:
test/index.test.ts#L145
Error: Snapshot `migrations union type 1` mismatched
- Expected
+ Received
"[
'one: executed',
'two: executed',
- 'three: pending',
- 'four: pending',
+ 'three: executed',
+ 'four: executed',
'five: pending'
]"
❯ test/index.test.ts:145:18
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|