style: unused variable #547
Annotations
2 errors and 1 warning
Unit:
test/writeClient-migrate.test.ts#L28
AssertionError: expected "spy" to be called with arguments: [ { type: 'end', data: { …(1) } } ]
Received:
1st spy call:
Array [
- Object {
- "data": Object {
- "migrated": Object {
- "assets": 0,
- "documents": 0,
- },
- },
- "type": "end",
- },
+ "01_createAssets - Found 1 existing assets",
]
2nd spy call:
Array [
- Object {
- "data": Object {
- "migrated": Object {
- "assets": 0,
- "documents": 0,
- },
- },
- "type": "end",
- },
+ "01_createAssets - No assets to create",
]
3rd spy call:
Array [
- Object {
- "data": Object {
- "migrated": Object {
- "assets": 0,
- "documents": 0,
- },
- },
- "type": "end",
- },
+ "02_createDocuments - Resolved master locale `aliquet`",
]
4th spy call:
Array [
- Object {
- "data": Object {
- "migrated": Object {
- "assets": 0,
- "documents": 0,
- },
- },
- "type": "end",
- },
+ "02_createDocuments - Found 0 existing documents",
]
5th spy call:
Array [
- Object {
- "data": Object {
- "migrated": Object {
- "assets": 0,
- "documents": 0,
- },
- },
- "type": "end",
- },
+ "02_createDocuments - No documents to create",
]
6th spy call:
Array [
- Object {
- "data": Object {
- "migrated": Object {
- "assets": 0,
- "documents": 0,
- },
- },
- "type": "end",
- },
+ "03_updateDocuments - No documents to update",
]
7th spy call:
Array [
- Object {
- "data": Object {
- "migrated": Object {
- "assets": 0,
- "documents": 0,
- },
- },
- "type": "end",
- },
+ "Migration complete, migrated 0 documents and 0 assets",
]
Number of calls: 7
❯ test/writeClient-migrate.test.ts:28:19
|
Unit
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading