Skip to content

Commit

Permalink
add support/ custom icon for test files (foo.test.js/ foo.test.ts) (F…
Browse files Browse the repository at this point in the history
…ixes #35)
  • Loading branch information
miguelsolorio committed Jan 12, 2023
1 parent aa50608 commit 7628a5c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/icons/files/js-test.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/icons/files/ts-test.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions src/symbol-icon-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
"svg": { "iconPath": "./icons/files/svg.svg" },
"vue": { "iconPath": "./icons/files/vue.svg" },
"js": { "iconPath": "./icons/files/js.svg" },
"js-test": { "iconPath": "./icons/files/js-test.svg" },
"ts": { "iconPath": "./icons/files/ts.svg" },
"ts-test": { "iconPath": "./icons/files/ts-test.svg" },
"dts": { "iconPath": "./icons/files/dts.svg" },
"robot": { "iconPath": "./icons/files/robot.svg" },
"text": { "iconPath": "./icons/files/text.svg" },
Expand Down Expand Up @@ -133,6 +135,8 @@
"supabase": { "iconPath": "./icons/files/supabase.svg" }
},
"fileExtensions": {
"test.js": "js-test",
"test.ts": "ts-test",
"jenkinsfile": "jenkins",
"jenkins": "jenkins",
"tsconfig.json": "tsconfig",
Expand Down Expand Up @@ -376,6 +380,8 @@
"toml": "gear"
},
"fileNames": {
"test.js": "js-test",
"test.ts": "ts-test",
"gulpfile.js": "gulp",
"gulpfile.mjs": "gulp",
"gulpfile.ts": "gulp",
Expand Down Expand Up @@ -580,7 +586,6 @@
".vscodeignore": "ignore",
".hugo_build.lock": "hugo",
"robots.txt": "text",
"test.js": "code-orange",
"yarn.lock": "yarn",
"yarn": "yarn",
".direnv": "gear",
Expand Down Expand Up @@ -644,7 +649,7 @@
"tsconfig.eslint.json": "tsconfig",
"tsconfig.lib.json": "tsconfig",
"tsconfig.node.json": "tsconfig",
"tsconfig.test.json": "tsconfig",
"tsconfig.test.json": "ts-test",
"tsconfig.e2e.json": "tsconfig",
"tsconfig.web.json": "tsconfig",
"tsconfig.webworker.json": "tsconfig",
Expand Down

0 comments on commit 7628a5c

Please sign in to comment.