Last active
June 11, 2020 14:58
-
-
Save francajosejunior/f4244c6ddf8f79ad3d38156b3553a244 to your computer and use it in GitHub Desktop.
Sample jest configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-06-11T14:56:33.721Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "70378119-1d85-4935-9733-0298c7a369a2", | |
"publisherId": "steoates.autoimport", | |
"publisherDisplayName": "steoates" | |
}, | |
"name": "autoimport", | |
"publisher": "steoates", | |
"version": "1.5.3" | |
}, | |
{ | |
"metadata": { | |
"id": "2b5eea6b-b1f0-4796-83bd-6adb2448ac19", | |
"publisherId": "maximus136.change-string-case", | |
"publisherDisplayName": "maximus136" | |
}, | |
"name": "change-string-case", | |
"publisher": "maximus136", | |
"version": "1.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff", | |
"publisherId": "ms-dotnettools.csharp", | |
"publisherDisplayName": "ms-dotnettools" | |
}, | |
"name": "csharp", | |
"publisher": "ms-dotnettools", | |
"version": "1.22.0" | |
}, | |
{ | |
"metadata": { | |
"id": "cc99333f-dc9c-4f2d-8763-61cae062f51c", | |
"publisherId": "Lakkannawalikar.css-converter", | |
"publisherDisplayName": "Lakkannawalikar" | |
}, | |
"name": "css-converter", | |
"publisher": "Lakkannawalikar", | |
"version": "0.1.5" | |
}, | |
{ | |
"metadata": { | |
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd", | |
"publisherId": "msjsdiag.debugger-for-chrome", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "debugger-for-chrome", | |
"publisher": "msjsdiag", | |
"version": "4.12.8" | |
}, | |
{ | |
"metadata": { | |
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c", | |
"publisherId": "dsznajder.es7-react-js-snippets", | |
"publisherDisplayName": "dsznajder" | |
}, | |
"name": "es7-react-js-snippets", | |
"publisher": "dsznajder", | |
"version": "2.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "6d2b4ef2-1d6d-4a1f-91fb-29fcadfb4b0a", | |
"publisherId": "vector-of-bool.gitflow", | |
"publisherDisplayName": "vector-of-bool" | |
}, | |
"name": "gitflow", | |
"publisher": "vector-of-bool", | |
"version": "1.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "10.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28", | |
"publisherId": "abusaidm.html-snippets", | |
"publisherDisplayName": "abusaidm" | |
}, | |
"name": "html-snippets", | |
"publisher": "abusaidm", | |
"version": "0.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "fa397681-1503-4294-8cc6-8a4f826d32e2", | |
"publisherId": "tomphilbin.lodash-snippets", | |
"publisherDisplayName": "tomphilbin" | |
}, | |
"name": "lodash-snippets", | |
"publisher": "tomphilbin", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "36d19e17-7569-4841-a001-947eb18602b2", | |
"publisherId": "ms-vscode.node-debug2", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "node-debug2", | |
"publisher": "ms-vscode", | |
"version": "1.42.4" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "5.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d4421060-16f8-46df-a0f3-bf6d53592386", | |
"publisherId": "AlDuncanson.react-hooks-snippets", | |
"publisherDisplayName": "AlDuncanson" | |
}, | |
"name": "react-hooks-snippets", | |
"publisher": "AlDuncanson", | |
"version": "1.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5", | |
"publisherId": "humao.rest-client", | |
"publisherDisplayName": "humao" | |
}, | |
"name": "rest-client", | |
"publisher": "humao", | |
"version": "0.23.2" | |
}, | |
{ | |
"metadata": { | |
"id": "d3d8c87e-6b24-4721-9b69-bb7934bbd832", | |
"publisherId": "myax.short-js-doc", | |
"publisherDisplayName": "myax" | |
}, | |
"name": "short-js-doc", | |
"publisher": "myax", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1", | |
"publisherId": "dracula-theme.theme-dracula", | |
"publisherDisplayName": "dracula-theme" | |
}, | |
"name": "theme-dracula", | |
"publisher": "dracula-theme", | |
"version": "2.22.1" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.5" | |
}, | |
{ | |
"metadata": { | |
"id": "c5f4d87f-a524-462c-ac01-923eb19cf3e9", | |
"publisherId": "firefox-devtools.vscode-firefox-debug", | |
"publisherDisplayName": "firefox-devtools" | |
}, | |
"name": "vscode-firefox-debug", | |
"publisher": "firefox-devtools", | |
"version": "2.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "829a192d-496c-44ac-87f3-0a84ce36a853", | |
"publisherId": "emmanuelbeziat.vscode-great-icons", | |
"publisherDisplayName": "emmanuelbeziat" | |
}, | |
"name": "vscode-great-icons", | |
"publisher": "emmanuelbeziat", | |
"version": "2.1.47" | |
}, | |
{ | |
"metadata": { | |
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "vscode-icons-team.vscode-icons", | |
"publisherDisplayName": "vscode-icons-team" | |
}, | |
"name": "vscode-icons", | |
"publisher": "vscode-icons-team", | |
"version": "10.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "beb68b20-7c55-471c-9b63-3486f9423566", | |
"publisherId": "mrmlnc.vscode-scss", | |
"publisherDisplayName": "mrmlnc" | |
}, | |
"name": "vscode-scss", | |
"publisher": "mrmlnc", | |
"version": "0.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "01708053-6fab-403f-9787-9d5f3d8f7d6a", | |
"publisherId": "sibiraj-s.vscode-scss-formatter", | |
"publisherDisplayName": "sibiraj-s" | |
}, | |
"name": "vscode-scss-formatter", | |
"publisher": "sibiraj-s", | |
"version": "2.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "937fa76c-0fd7-4e54-a4d3-d78b07f2d725", | |
"publisherId": "fernandoescolar.vscode-solution-explorer", | |
"publisherDisplayName": "fernandoescolar" | |
}, | |
"name": "vscode-solution-explorer", | |
"publisher": "fernandoescolar", | |
"version": "0.3.10" | |
}, | |
{ | |
"metadata": { | |
"id": "2f67a87a-f228-4c64-aa59-d66f638cc822", | |
"publisherId": "capaj.vscode-standardjs-snippets", | |
"publisherDisplayName": "capaj" | |
}, | |
"name": "vscode-standardjs-snippets", | |
"publisher": "capaj", | |
"version": "0.8.12" | |
}, | |
{ | |
"metadata": { | |
"id": "90a37ca1-92a2-488a-b196-7a8c0b0127ea", | |
"publisherId": "ms-vscode.vscode-typescript-tslint-plugin", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "vscode-typescript-tslint-plugin", | |
"publisher": "ms-vscode", | |
"version": "1.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "6703768d-d42f-474e-9f6e-5f288d53f6e8", | |
"publisherId": "redhat.vscode-xml", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "vscode-xml", | |
"publisher": "redhat", | |
"version": "0.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.2302" | |
}, | |
{ | |
"metadata": { | |
"id": "ec0a68f4-7ba0-42eb-b1f4-b6ef4f1755a7", | |
"publisherId": "mikeburgh.xml-format", | |
"publisherDisplayName": "mikeburgh" | |
}, | |
"name": "xml-format", | |
"publisher": "mikeburgh", | |
"version": "1.0.2" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"verbose": true, | |
"transform": { | |
"^.+\\.js?$": "babel-jest" | |
}, | |
"moduleNameMapper": { | |
"\\.(css|scss)$": "identity-obj-proxy" | |
}, | |
"reporters": ["default", "jest-junit"], | |
"snapshotSerializers": ["enzyme-to-json/serializer"], | |
"setupFilesAfterEnv": ["./src/setupTests.js"] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+,", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "saveAll" | |
}, | |
{ | |
"key": "ctrl+shift+g ctrl+shift+g", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "ctrl+shift+g ctrl+shift+p", | |
"command": "git.push" | |
}, | |
{ | |
"key": "ctrl+shift+g ctrl+shift+o", | |
"command": "git.showOutput" | |
}, | |
{ | |
"key": "alt+1", | |
"command": "editor.foldAll", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+2", | |
"command": "editor.unfoldAll", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "f4", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+shift+o", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "-editor.action.addCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+u", | |
"command": "editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+k ctrl+u", | |
"command": "-editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+abnt_c1", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+oem_2", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+oem_2", | |
"command": "editor.emmet.action.toggleComment" | |
}, | |
{ | |
"key": "ctrl+shift+u", | |
"command": "workbench.action.toggleMaximizedPanel" | |
}, | |
{ | |
"key": "ctrl+shift+oem_period", | |
"command": "editor.action.fontZoomIn" | |
}, | |
{ | |
"key": "ctrl+shift+oem_comma", | |
"command": "editor.action.fontZoomOut" | |
}, | |
{ | |
"key": "ctrl+k c", | |
"command": "copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "ctrl+k ctrl+shift+c", | |
"command": "-copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "ctrl+k c", | |
"command": "-workbench.files.action.compareWithClipboard" | |
}, | |
{ | |
"key": "ctrl+e ctrl+w", | |
"command": "workbench.action.closeOtherEditors" | |
}, | |
{ | |
"key": "ctrl+m", | |
"command": "editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+k ctrl+l", | |
"command": "-editor.toggleFold", | |
"when": "editorTextFocus && foldingEnabled" | |
}, | |
{ | |
"key": "ctrl+m", | |
"command": "-editor.action.toggleTabFocusMode" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontSize": 14.5, | |
"git.confirmSync": false, | |
"npm.enableScriptExplorer": false, | |
"git.enableSmartCommit": true, | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"typescript.updateImportsOnFileMove.enabled": "never", | |
"diffEditor.ignoreTrimWhitespace": true, | |
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"files.autoSave": "off", | |
"workbench.statusBar.visible": true, | |
"javascript.updateImportsOnFileMove.enabled": "never", | |
"workbench.activityBar.visible": true, | |
"window.menuBarVisibility": "toggle", | |
"gitlens.advanced.messages": { | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"gitlens.historyExplorer.location": "explorer", | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", | |
"breadcrumbs.enabled": true, | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "normal", | |
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true, | |
"breadcrumbs.filePath": "on", | |
"search.quickOpen.includeSymbols": true, | |
"autoimport.showNotifications": true, | |
"autoimport.filesToScan": "**/*.{ts,tsx,jsx,js}", | |
"autoimport.doubleQuotes": true, | |
"sync.gist": "f4244c6ddf8f79ad3d38156b3553a244", | |
"sync.autoUpload": false, | |
"sync.removeExtensions": true, | |
"todohighlight.isEnable": false, | |
"todo-tree.defaultHighlight": { | |
"foreground": "green", | |
"type": "none" | |
}, | |
"todo-tree.customHighlight": { | |
"TODO": {}, | |
"FIXME": {} | |
}, | |
"editor.formatOnSave": true, | |
"javascript.validate.enable": false, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[scss]": { | |
"editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter" | |
}, | |
"[jsonc]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"scss.lint.boxModel": "warning", | |
"scss.lint.compatibleVendorPrefixes": "warning", | |
"scss.lint.duplicateProperties": "warning", | |
"scss.lint.idSelector": "warning", | |
"scss.lint.ieHack": "warning", | |
"scss.lint.universalSelector": "warning", | |
"[css]": { | |
"editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter" | |
}, | |
"gitlens.views.repositories.files.layout": "tree", | |
"workbench.iconTheme": "vscode-icons", | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", | |
"plaintext": "json" | |
}, | |
"sync.forceUpload": false, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"todo-tree.rootFolder": "/src/", | |
"todo-tree.regex": "//\\s{0,1}TODO", | |
"todo-tree.regexCaseSensitive": false, | |
"workbench.sideBar.location": "left", | |
"terminal.integrated.fontSize": 12, | |
"window.zoomLevel": 0, | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"editor.minimap.enabled": false, | |
"[html]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"terminal.integrated.rendererType": "dom", | |
"workbench.editorAssociations": [ | |
{ | |
"viewType": "default", | |
"filenamePattern": "*.xd" | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* | |
// Place your snippets for TypeScript here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment