Examples of how to test Stencil components - GitHub

文章推薦指數: 80 %
投票人數:10人

Examples of how to test Stencil components. Contribute to jagreehal/stencil-how-to-test-components development by creating an account on GitHub. Skiptocontent {{message}} jagreehal / stencil-how-to-test-components Public Notifications Fork 6 Star 58 ExamplesofhowtotestStencilcomponents 58 stars 6 forks Star Notifications Code Issues 1 Pullrequests 0 Actions Projects 0 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. master Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 100 branches 0 tags Code Latestcommit jagreehal Mergepullrequest#77fromjagreehal/github-actions … 2852353 Dec15,2020 Mergepullrequest#77fromjagreehal/github-actions nowusesgithubactions 2852353 Gitstats 100 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime .github/workflows nowusesgithubactions Dec15,2020 .vscode nowusingnewSpecPageanddebuginstructions! Jun10,2019 src updated Nov23,2019 static initial Mar1,2018 .eslintrc.json updated Nov23,2019 .gitignore updated Apr9,2018 .prettierrc.js updated Nov23,2019 README.md nowusingnewSpecPageanddebuginstructions! Jun10,2019 package-lock.json udpatedtostencil-2.3.0 Dec15,2020 package.json udpatedtostencil-2.3.0 Dec15,2020 stencil.config.js updatedtousepuppeteerfortesting Oct1,2018 tsconfig.json updatedtousepuppeteerfortesting Oct1,2018 Viewcode ExamplesofhowtotestStencilComponentsusingJestandPuppeteer EventEmitter Methods Props Snapshots Addedbonus! README.md ExamplesofhowtotestStencilComponentsusingJestandPuppeteer ExamplesofhowtotestStencilcomponents...bothwhatworksanddoesn't! EventEmitter ✅canasserteventshavebeenraised Methods ✅cancallmethodsonelements Props ✅cansetpropsonelement ✅canchangepropvalue Snapshots 📷canusesnapshots Addedbonus! ForVSCodeuserscheckoutlaunch.jsonfordebuggingtests { "version":"0.2.0", "configurations":[{ "type":"node", "request":"launch", "name":"E2ETestCurrentFile", "cwd":"${workspaceFolder}", "program":"${workspaceFolder}/node_modules/.bin/stencil", "args":["test","--e2e","${relativeFile}"], "console":"integratedTerminal", "internalConsoleOptions":"neverOpen", "disableOptimisticBPs":true, "skipFiles":[ "${workspaceFolder}/node_modules/**/*.js", "/**/*.js" ] }, { "type":"node", "request":"launch", "name":"SpecTestCurrentFile", "cwd":"${workspaceFolder}", "program":"${workspaceFolder}/node_modules/.bin/stencil", "args":["test","--spec","${relativeFile}"], "console":"integratedTerminal", "internalConsoleOptions":"neverOpen", "disableOptimisticBPs":true, "skipFiles":[ "${workspaceFolder}/node_modules/**/*.js", "/**/*.js" ] } ] } About ExamplesofhowtotestStencilcomponents Topics testing jest snapshot-testing stenciljs Resources Readme Stars 58 stars Watchers 0 watching Forks 6 forks Releases Noreleasespublished Packages0 Nopackagespublished Contributors2 jagreehal JagReehal greenkeeper[bot] Languages TypeScript 90.1% HTML 8.9% JavaScript 1.0% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?