Add missing languageIds to cloneConfig #4788
build.yml
on: push
Build Material Icon Theme
11s
Annotations
3 errors and 1 warning
error: expect(received).toStrictEqual(expected):
src/core/tests/icons/cloning.test.ts#L890
{
file: "file",
fileExtensions: {
baz: "foo-clone",
},
fileNames: {
"bar.foo": "foo-clone",
"foo.bar": "foo",
},
folderNames: {
bar: "folder-foo-clone",
},
folderNamesExpanded: {
bar: "folder-foo-clone-open",
},
highContrast: {
fileExtensions: {},
fileNames: {},
},
iconDefinitions: {
file: {
iconPath: "./../icons/file~-2227804.svg",
},
"folder-foo": {
iconPath: "./../icons/folder~-2227804.svg",
},
"folder-foo-clone": {
iconPath: "./../icons/clones/folder-foo-clone~-2227804.svg",
},
"folder-foo-clone-open": {
iconPath: "./../icons/clones/folder-foo-clone-open~-2227804.svg",
},
"folder-foo-clone-open_light": {
iconPath: "./../icons/clones/folder-foo-clone-open_light~-2227804.svg",
},
"folder-foo-clone_light": {
iconPath: "./../icons/clones/folder-foo-clone_light~-2227804.svg",
},
"folder-foo-open": {
iconPath: "./../icons/folder-open~-2227804.svg",
},
foo: {
iconPath: "./../icons/foo~-2227804.svg",
},
"foo-clone": {
iconPath: "./../icons/clones/foo-clone~-2227804.svg",
},
"foo-clone_light": {
iconPath: "./../icons/clones/foo-clone_light~-2227804.svg",
},
},
languageIds: {
json: "foo-clone",
},
light: {
fileExtensions: {
baz: "foo-clone_light",
},
fileNames: {
"bar.foo": "foo-clone_light",
},
folderNames: {
bar: "folder-foo-clone_light",
},
folderNamesExpanded: {
bar: "folder-foo-clone-open_light",
},
+ languageIds: {
+ json: "foo-clone_light",
+ },
},
}
- Expected - 0
+ Received + 3
at /home/runner/work/vscode-material-icon-theme/vscode-material-icon-theme/src/core/tests/icons/cloning.test.ts:890:20
|
error: expect(received).toStrictEqual(expected):
src/core/tests/icons/cloning.test.ts#L1156
{
file: "file",
fileExtensions: {
"baz.angular": "foo-angular-clone",
"baz.any": "foo-any-clone",
},
fileNames: {
"bar.foo.angular": "foo-angular-clone",
"bar.foo.any": "foo-any-clone",
"foo.bar": "foo",
},
folderNames: {
"bar.angular": "folder-foo-angular-clone",
"bar.any": "folder-foo-any-clone",
},
folderNamesExpanded: {
"bar.angular": "folder-foo-angular-clone-open",
"bar.any": "folder-foo-any-clone-open",
},
highContrast: {
fileExtensions: {},
fileNames: {},
},
iconDefinitions: {
file: {
iconPath: "./../icons/file~-2019306234.svg",
},
"folder-foo": {
iconPath: "./../icons/folder~-2019306234.svg",
},
"folder-foo-angular-clone": {
iconPath: "./../icons/clones/folder-foo-angular-clone~-2019306234.svg",
},
"folder-foo-angular-clone-open": {
iconPath: "./../icons/clones/folder-foo-angular-clone-open~-2019306234.svg",
},
"folder-foo-angular-clone-open_light": {
iconPath: "./../icons/clones/folder-foo-angular-clone-open_light~-2019306234.svg",
},
"folder-foo-angular-clone_light": {
iconPath: "./../icons/clones/folder-foo-angular-clone_light~-2019306234.svg",
},
"folder-foo-any-clone": {
iconPath: "./../icons/clones/folder-foo-any-clone~-2019306234.svg",
},
"folder-foo-any-clone-open": {
iconPath: "./../icons/clones/folder-foo-any-clone-open~-2019306234.svg",
},
"folder-foo-any-clone-open_light": {
iconPath: "./../icons/clones/folder-foo-any-clone-open_light~-2019306234.svg",
},
"folder-foo-any-clone_light": {
iconPath: "./../icons/clones/folder-foo-any-clone_light~-2019306234.svg",
},
"folder-foo-open": {
iconPath: "./../icons/folder-open~-2019306234.svg",
},
foo: {
iconPath: "./../icons/foo~-2019306234.svg",
},
"foo-angular-clone": {
iconPath: "./../icons/clones/foo-angular-clone~-2019306234.svg",
},
"foo-angular-clone_light": {
iconPath: "./../icons/clones/foo-angular-clone_light~-2019306234.svg",
},
"foo-any-clone": {
iconPath: "./../icons/clones/foo-any-clone~-2019306234.svg",
},
"foo-any-clone_light": {
iconPath: "./../icons/clones/foo-any-clone_light~-2019306234.svg",
},
},
languageIds: {
json: "foo",
"json.angular": "foo-angular-clone",
"json.any": "foo-any-clone",
},
light: {
fileExtensions: {
"baz.angular": "foo-angular-clone_light",
"baz.any": "foo-any-clone_light",
},
fileNames: {
"bar.foo.angular": "foo-angular-clone_light",
"bar.foo.any": "foo-any-clone_light",
},
folderNames: {
"bar.angular": "folder-foo-angular-clone_light",
"bar.any": "folder-foo-any-clone_light",
},
folderNamesExpanded: {
"bar.angular": "folder-foo-angular-clone-open_light",
"bar.any": "folder-foo-any-clone-open_light",
},
+ languageIds: {
+ "json.angular": "foo-angular-clone_light",
+ "json.any": "foo-any-clone_light",
+ },
},
}
- Expected - 0
+ Received + 4
at /home/runner/work/vscode-material-icon-theme/vscode-material-icon-theme/src/core/tests/icons/cloning.test.ts:1156:20
|
Build Material Icon Theme
Process completed with exit code 1.
|
Build Material Icon Theme
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|