fix(deps): update dependency vscode-languageserver-textdocument to v1.0.12 #15583
continuous-integration.yml
on: pull_request
Matrix: Tests + Shellcheck
Annotations
17 errors
src/__test__/rename/multi-file.test.ts > rename field - map does not exist:
packages/language-server/src/__test__/rename/multi-file.test.ts#L184
Error: Snapshot `rename field - map does not exist 1` mismatched
- Expected
+ Received
@@ -16,15 +16,15 @@
},
{
"newText": " @Map("name")",
"range": {
"end": {
- "character": 16,
+ "character": 0,
"line": 3,
},
"start": {
- "character": 16,
+ "character": 0,
"line": 3,
},
},
},
],
❯ src/__test__/rename/multi-file.test.ts:184:20
|
src/__test__/rename/single-file.test.ts > Rename > Field not referenced in index block:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFieldLargeSchema.prisma": Array [
Object {
"newText": "AlbumFoo",
"range": Object {
"end": Object {
"character": 7,
"line": 136,
},
"start": Object {
"character": 2,
"line": 136,
},
},
},
Object {
"newText": " @Map(\"Album\")",
"range": Object {
"end": Object {
- "character": 34,
+ "character": 0,
"line": 136,
},
"start": Object {
- "character": 34,
+ "character": 0,
"line": 136,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:358:5
|
src/__test__/rename/single-file.test.ts > Rename > Field referenced in @@id and @relation attributes:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFields.prisma": Array [
Object {
"newText": "publisherId",
"range": Object {
"end": Object {
"character": 12,
"line": 4,
},
"start": Object {
"character": 4,
"line": 4,
},
},
},
Object {
"newText": " @Map(\"authorId\")",
"range": Object {
"end": Object {
- "character": 17,
+ "character": 0,
"line": 4,
},
"start": Object {
- "character": 17,
+ "character": 0,
"line": 4,
},
},
},
Object {
"newText": "publisherId",
"range": Object {
"end": Object {
"character": 49,
"line": 3,
},
"start": Object {
"character": 41,
"line": 3,
},
},
},
Object {
"newText": "publisherId",
"range": Object {
"end": Object {
"character": 18,
"line": 5,
},
"start": Object {
"character": 10,
"line": 5,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:405:5
|
src/__test__/rename/single-file.test.ts > Rename > Field referenced in @@index attribute:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFields.prisma": Array [
Object {
"newText": "headline",
"range": Object {
"end": Object {
"character": 7,
"line": 17,
},
"start": Object {
"character": 2,
"line": 17,
},
},
},
Object {
"newText": " @Map(\"title\")",
"range": Object {
"end": Object {
- "character": 17,
+ "character": 0,
"line": 17,
},
"start": Object {
- "character": 17,
+ "character": 0,
"line": 17,
},
},
},
Object {
"newText": "headline",
"range": Object {
"end": Object {
"character": 16,
"line": 19,
},
"start": Object {
"character": 11,
"line": 19,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:447:5
|
src/__test__/rename/single-file.test.ts > Rename > Field referenced in @@unique attribute and @relation attribute:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFields.prisma": Array [
Object {
"newText": "humanoidId",
"range": Object {
"end": Object {
"character": 9,
"line": 25,
},
"start": Object {
"character": 2,
"line": 25,
},
},
},
Object {
"newText": " @Map(\"humanId\")",
"range": Object {
"end": Object {
- "character": 14,
+ "character": 0,
"line": 25,
},
"start": Object {
- "character": 14,
+ "character": 0,
"line": 25,
},
},
},
Object {
"newText": "humanoidId",
"range": Object {
"end": Object {
"character": 46,
"line": 24,
},
"start": Object {
"character": 39,
"line": 24,
},
},
},
Object {
"newText": "humanoidId",
"range": Object {
"end": Object {
"character": 19,
"line": 28,
},
"start": Object {
"character": 12,
"line": 28,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:481:5
|
src/__test__/rename/single-file.test.ts > Rename > Enum Values:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameEnum.prisma": Array [
Object {
"newText": "A_VARIANT_WITHOUT_UNDERSCORES",
"range": Object {
"end": Object {
"character": 28,
"line": 8,
},
"start": Object {
"character": 2,
"line": 8,
},
},
},
Object {
"newText": " @Map(\"A_VARIANT_WITH_UNDERSCORES\")",
"range": Object {
"end": Object {
- "character": 28,
+ "character": 0,
"line": 8,
},
"start": Object {
- "character": 28,
+ "character": 0,
"line": 8,
},
},
},
Object {
"newText": "@default(A_VARIANT_WITHOUT_UNDERSCORES)",
"range": Object {
"end": Object {
"character": 48,
"line": 2,
},
"start": Object {
"character": 12,
"line": 2,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:556:5
|
Tests + Shellcheck (macos-latest)
Process completed with exit code 1.
|
Tests + Shellcheck (ubuntu-latest)
The job was canceled because "macos-latest" failed.
|
src/__test__/rename/multi-file.test.ts > rename field - map does not exist:
packages/language-server/src/__test__/rename/multi-file.test.ts#L184
Error: Snapshot `rename field - map does not exist 1` mismatched
- Expected
+ Received
@@ -16,15 +16,15 @@
},
{
"newText": " @Map("name")",
"range": {
"end": {
- "character": 16,
+ "character": 0,
"line": 3,
},
"start": {
- "character": 16,
+ "character": 0,
"line": 3,
},
},
},
],
❯ src/__test__/rename/multi-file.test.ts:184:20
|
src/__test__/rename/single-file.test.ts > Rename > Field not referenced in index block:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFieldLargeSchema.prisma": Array [
Object {
"newText": "AlbumFoo",
"range": Object {
"end": Object {
"character": 7,
"line": 136,
},
"start": Object {
"character": 2,
"line": 136,
},
},
},
Object {
"newText": " @Map(\"Album\")",
"range": Object {
"end": Object {
- "character": 34,
+ "character": 0,
"line": 136,
},
"start": Object {
- "character": 34,
+ "character": 0,
"line": 136,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:358:5
|
src/__test__/rename/single-file.test.ts > Rename > Field referenced in @@id and @relation attributes:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFields.prisma": Array [
Object {
"newText": "publisherId",
"range": Object {
"end": Object {
"character": 12,
"line": 4,
},
"start": Object {
"character": 4,
"line": 4,
},
},
},
Object {
"newText": " @Map(\"authorId\")",
"range": Object {
"end": Object {
- "character": 17,
+ "character": 0,
"line": 4,
},
"start": Object {
- "character": 17,
+ "character": 0,
"line": 4,
},
},
},
Object {
"newText": "publisherId",
"range": Object {
"end": Object {
"character": 49,
"line": 3,
},
"start": Object {
"character": 41,
"line": 3,
},
},
},
Object {
"newText": "publisherId",
"range": Object {
"end": Object {
"character": 18,
"line": 5,
},
"start": Object {
"character": 10,
"line": 5,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:405:5
|
src/__test__/rename/single-file.test.ts > Rename > Field referenced in @@index attribute:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFields.prisma": Array [
Object {
"newText": "headline",
"range": Object {
"end": Object {
"character": 7,
"line": 17,
},
"start": Object {
"character": 2,
"line": 17,
},
},
},
Object {
"newText": " @Map(\"title\")",
"range": Object {
"end": Object {
- "character": 17,
+ "character": 0,
"line": 17,
},
"start": Object {
- "character": 17,
+ "character": 0,
"line": 17,
},
},
},
Object {
"newText": "headline",
"range": Object {
"end": Object {
"character": 16,
"line": 19,
},
"start": Object {
"character": 11,
"line": 19,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:447:5
|
src/__test__/rename/single-file.test.ts > Rename > Field referenced in @@unique attribute and @relation attribute:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameFields.prisma": Array [
Object {
"newText": "humanoidId",
"range": Object {
"end": Object {
"character": 9,
"line": 25,
},
"start": Object {
"character": 2,
"line": 25,
},
},
},
Object {
"newText": " @Map(\"humanId\")",
"range": Object {
"end": Object {
- "character": 14,
+ "character": 0,
"line": 25,
},
"start": Object {
- "character": 14,
+ "character": 0,
"line": 25,
},
},
},
Object {
"newText": "humanoidId",
"range": Object {
"end": Object {
"character": 46,
"line": 24,
},
"start": Object {
"character": 39,
"line": 24,
},
},
},
Object {
"newText": "humanoidId",
"range": Object {
"end": Object {
"character": 19,
"line": 28,
},
"start": Object {
"character": 12,
"line": 28,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:481:5
|
src/__test__/rename/single-file.test.ts > Rename > Enum Values:
packages/language-server/src/__test__/rename/single-file.test.ts#L24
AssertionError: expected { changes: { …(1) } } to strictly equal { changes: { …(1) } }
- Expected
+ Received
Object {
"changes": Object {
"file:///rename/renameEnum.prisma": Array [
Object {
"newText": "A_VARIANT_WITHOUT_UNDERSCORES",
"range": Object {
"end": Object {
"character": 28,
"line": 8,
},
"start": Object {
"character": 2,
"line": 8,
},
},
},
Object {
"newText": " @Map(\"A_VARIANT_WITH_UNDERSCORES\")",
"range": Object {
"end": Object {
- "character": 28,
+ "character": 0,
"line": 8,
},
"start": Object {
- "character": 28,
+ "character": 0,
"line": 8,
},
},
},
Object {
"newText": "@default(A_VARIANT_WITHOUT_UNDERSCORES)",
"range": Object {
"end": Object {
"character": 48,
"line": 2,
},
"start": Object {
"character": 12,
"line": 2,
},
},
},
],
},
}
❯ assertRename src/__test__/rename/single-file.test.ts:24:24
❯ src/__test__/rename/single-file.test.ts:556:5
|
Tests + Shellcheck (ubuntu-latest)
Process completed with exit code 1.
|
Tests + Shellcheck (windows-latest)
The job was canceled because "macos-latest" failed.
|
Tests + Shellcheck (windows-latest)
The operation was canceled.
|