-
-
Save duydev/71a31774a67bcd25982922f0ae9a0286 to your computer and use it in GitHub Desktop.
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon
This file contains 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":"2019-06-29T18:33:36.500Z","extensionVersion":"v3.3.1"} |
This file contains 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": "850c6bb1-4a81-4f83-a81f-835d651a211c", | |
"publisherId": "Mikael.Angular-BeastCode", | |
"publisherDisplayName": "Mikael" | |
}, | |
"name": "Angular-BeastCode", | |
"publisher": "Mikael", | |
"version": "8.0.10" | |
}, | |
{ | |
"metadata": { | |
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29", | |
"publisherId": "formulahendry.auto-close-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.5.6" | |
}, | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7", | |
"publisherId": "streetsidesoftware.code-spell-checker", | |
"publisherDisplayName": "streetsidesoftware" | |
}, | |
"name": "code-spell-checker", | |
"publisher": "streetsidesoftware", | |
"version": "1.7.17" | |
}, | |
{ | |
"metadata": { | |
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce", | |
"publisherId": "joelday.docthis", | |
"publisherDisplayName": "joelday" | |
}, | |
"name": "docthis", | |
"publisher": "joelday", | |
"version": "0.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71", | |
"publisherId": "mikestead.dotenv", | |
"publisherDisplayName": "mikestead" | |
}, | |
"name": "dotenv", | |
"publisher": "mikestead", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588", | |
"publisherId": "EditorConfig.EditorConfig", | |
"publisherDisplayName": "EditorConfig" | |
}, | |
"name": "EditorConfig", | |
"publisher": "EditorConfig", | |
"version": "0.13.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d58b4691-21e7-45b7-93c6-ee7e164288cc", | |
"publisherId": "spoonscen.es6-mocha-snippets", | |
"publisherDisplayName": "spoonscen" | |
}, | |
"name": "es6-mocha-snippets", | |
"publisher": "spoonscen", | |
"version": "0.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "9.8.2" | |
}, | |
{ | |
"metadata": { | |
"id": "eaa2127d-cb69-4ab9-8505-a60c9ee5f28b", | |
"publisherId": "oderwat.indent-rainbow", | |
"publisherDisplayName": "oderwat" | |
}, | |
"name": "indent-rainbow", | |
"publisher": "oderwat", | |
"version": "7.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f", | |
"publisherId": "xabikos.JavaScriptSnippets", | |
"publisherDisplayName": "xabikos" | |
}, | |
"name": "JavaScriptSnippets", | |
"publisher": "xabikos", | |
"version": "1.7.2" | |
}, | |
{ | |
"metadata": { | |
"id": "fbf507c4-5705-41ca-a4ab-abcc632ce52d", | |
"publisherId": "sachittandukar.laravel-5-snippets", | |
"publisherDisplayName": "sachittandukar" | |
}, | |
"name": "laravel-5-snippets", | |
"publisher": "sachittandukar", | |
"version": "2.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "3b58a227-618a-4b57-a06b-6984a2a8d1ba", | |
"publisherId": "onecentlin.laravel-blade", | |
"publisherDisplayName": "onecentlin" | |
}, | |
"name": "laravel-blade", | |
"publisher": "onecentlin", | |
"version": "1.20.0" | |
}, | |
{ | |
"metadata": { | |
"id": "9f47c6a1-da06-41ce-ba18-5e281296aa0a", | |
"publisherId": "stringham.move-ts", | |
"publisherDisplayName": "stringham" | |
}, | |
"name": "move-ts", | |
"publisher": "stringham", | |
"version": "1.11.5" | |
}, | |
{ | |
"metadata": { | |
"id": "ce071f60-714c-4351-854a-2a1d33f1e357", | |
"publisherId": "felipe.nasc-touchbar", | |
"publisherDisplayName": "felipe" | |
}, | |
"name": "nasc-touchbar", | |
"publisher": "felipe", | |
"version": "1.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8", | |
"publisherId": "christian-kohler.npm-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "npm-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86", | |
"publisherId": "christian-kohler.path-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "path-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "044b4b31-2969-4af3-895d-855433b8b46d", | |
"publisherId": "felixfbecker.php-debug", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-debug", | |
"publisher": "felixfbecker", | |
"version": "1.13.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5e69f001-f945-4c97-baf0-320d82a153b3", | |
"publisherId": "felixfbecker.php-intellisense", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-intellisense", | |
"publisher": "felixfbecker", | |
"version": "2.3.10" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "1.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7f7e0e9c-b5ad-4e21-a425-f63bd56cb13f", | |
"publisherId": "EQuimper.react-native-react-redux", | |
"publisherDisplayName": "EQuimper" | |
}, | |
"name": "react-native-react-redux", | |
"publisher": "EQuimper", | |
"version": "2.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "9d9198ef-15c4-45f2-889d-268757515ebb", | |
"publisherId": "TimonVS.ReactSnippetsStandard", | |
"publisherDisplayName": "TimonVS" | |
}, | |
"name": "ReactSnippetsStandard", | |
"publisher": "TimonVS", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b864db6b-8147-4ff8-b05a-f7c906c91f02", | |
"publisherId": "joshpeng.sublime-babel-vscode", | |
"publisherDisplayName": "joshpeng" | |
}, | |
"name": "sublime-babel-vscode", | |
"publisher": "joshpeng", | |
"version": "0.2.10" | |
}, | |
{ | |
"metadata": { | |
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4", | |
"publisherId": "ms-vscode.sublime-keybindings", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "sublime-keybindings", | |
"publisher": "ms-vscode", | |
"version": "4.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1", | |
"publisherId": "dracula-theme.theme-dracula", | |
"publisherDisplayName": "dracula-theme" | |
}, | |
"name": "theme-dracula", | |
"publisher": "dracula-theme", | |
"version": "2.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37", | |
"publisherId": "eg2.tslint", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "tslint", | |
"publisher": "eg2", | |
"version": "1.0.43" | |
}, | |
{ | |
"metadata": { | |
"id": "3324c5be-43aa-4c39-a0f8-d94c2978804f", | |
"publisherId": "whatwedo.twig", | |
"publisherDisplayName": "whatwedo" | |
}, | |
"name": "twig", | |
"publisher": "whatwedo", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "38583aca-2ba1-417f-80fc-68ca8d717fb4", | |
"publisherId": "rbbit.typescript-hero", | |
"publisherDisplayName": "rbbit" | |
}, | |
"name": "typescript-hero", | |
"publisher": "rbbit", | |
"version": "3.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "cba79045-6f59-4f86-8c80-af78d566d8cf", | |
"publisherId": "deerawan.vscode-dash", | |
"publisherDisplayName": "deerawan" | |
}, | |
"name": "vscode-dash", | |
"publisher": "deerawan", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "ms-azuretools.vscode-docker", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-docker", | |
"publisher": "ms-azuretools", | |
"version": "0.6.4" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.9.0" | |
}, | |
{ | |
"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": "8.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "c46b0018-f317-4b6c-a785-d2039b27338f", | |
"publisherId": "wix.vscode-import-cost", | |
"publisherDisplayName": "wix" | |
}, | |
"name": "vscode-import-cost", | |
"publisher": "wix", | |
"version": "2.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ffda6552-0ad5-431b-a4fa-0905a7e4f3f0", | |
"publisherId": "bmewburn.vscode-intelephense-client", | |
"publisherDisplayName": "bmewburn" | |
}, | |
"name": "vscode-intelephense-client", | |
"publisher": "bmewburn", | |
"version": "1.0.14" | |
}, | |
{ | |
"metadata": { | |
"id": "dd5a2c83-ad8c-4839-a529-0644e5acb646", | |
"publisherId": "mgmcdermott.vscode-language-babel", | |
"publisherDisplayName": "mgmcdermott" | |
}, | |
"name": "vscode-language-babel", | |
"publisher": "mgmcdermott", | |
"version": "0.0.22" | |
}, | |
{ | |
"metadata": { | |
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643", | |
"publisherId": "DavidAnson.vscode-markdownlint", | |
"publisherDisplayName": "DavidAnson" | |
}, | |
"name": "vscode-markdownlint", | |
"publisher": "DavidAnson", | |
"version": "0.28.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757", | |
"publisherId": "eg2.vscode-npm-script", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "vscode-npm-script", | |
"publisher": "eg2", | |
"version": "0.3.7" | |
}, | |
{ | |
"metadata": { | |
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9", | |
"publisherId": "wayou.vscode-todo-highlight", | |
"publisherDisplayName": "wayou" | |
}, | |
"name": "vscode-todo-highlight", | |
"publisher": "wayou", | |
"version": "1.0.4" | |
}, | |
{ | |
"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.1" | |
} | |
] |
This file contains 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
{ | |
"workbench.startupEditor": "newUntitledFile", | |
// "typescript.validate.enable": false, | |
"javascript.validate.enable": false, | |
// "editor.rulers": [80, 100, 120], | |
"gitlens.advanced.messages": { | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"workbench.colorTheme": "Dracula", | |
"sync.gist": "71a31774a67bcd25982922f0ae9a0286", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false, | |
"editor.fontFamily": "'Fira Code'", | |
"editor.fontLigatures": true, | |
"terminal.integrated.rendererType": "dom", | |
"gitlens.currentLine.enabled": false, | |
"gitlens.codeLens.enabled": false, | |
"nasc-touchbar.addCursorBelow": false, | |
"nasc-touchbar.commentLine": true, | |
"nasc-touchbar.selectNext": false, | |
"nasc-touchbar.showReferences": true, | |
"nasc-touchbar.toggleSidebar": true, | |
"nasc-touchbar.rename": false, | |
"git.autofetch": true, | |
"debug.inlineValues": true, | |
"debug.toolBarLocation": "docked", | |
"debug.node.autoAttach": "off", | |
"breadcrumbs.enabled": true, | |
"typescript.updateImportsOnFileMove.enabled": "never", | |
"window.zoomLevel": 0, | |
"cSpell.language": "en,en-US", | |
"cSpell.userWords": [ | |
"Adwords", | |
"Autoload", | |
"Awilix", | |
"Postgres", | |
"advalue", | |
"duydev", | |
"flatsome", | |
"injectable", | |
"inversify", | |
"pinetech", | |
"shortcode", | |
"woocommerce" | |
], | |
"diffEditor.ignoreTrimWhitespace": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, | |
"editor.largeFileOptimizations": false, | |
"[html]": { | |
"editor.defaultFormatter": "vscode.html-language-features" | |
}, | |
"vsicons.projectDetection.autoReload": true, | |
"workbench.iconTheme": "vscode-icons", | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment