|
Ran
|
Files
6
|
Run time
0s
|
Badge
README BADGES
|
push
github
Improve Babel & Jest for Dev Environment (#86) * Improve Babel & Jest for Dev Environment - [+] feat(babel.config.js): refactor Babel configuration to support different environments based on caller - [+] refactor(jest.config.js): format testMatch and other properties for consistency and readability * Remove isTest Variable for now - [+] refactor(babel.config.js): remove unused isTest variable declaration * Revert "Remove isTest Variable for now" This reverts commit c5a93d64b. * Update API Caller - [+] fix(babel.config.js): update caller check from envName to name for babel-jest * Update API Caller - [+] fix(babel.config.js): update caller condition to check for jsdom environment instead of babel-jest * Improve environment detection - [+] feat(babel.config.js): change browser environment detection to use process.env.BROWSER_ENV - [+] feat(env.js): add new file to determine and log the running environment based on BROWSER_ENV - [+] feat(jest.config.js): add setupFiles for env.js in both node and browser test environments - [+] chore(package.json): update test script to run tests in both node and browser environments using cross-env - [+] chore(package-lock.json): add cross-env dependency to manage environment variables in scripts * Update NPM Script - [+] fix(package.json): update test coverage scripts to include project selection for both node and browser environments * bump * Revert "bump" This reverts commit e84e83995. * add cross-env dependency - [+] chore(package.json): add cross-env dependency * Update environment variable for testing - [+] refactor: update environment variable from BROWSER_ENV to TEST_HACK_CRYPTO_BROWSER_ENV in babel.config.js and env.js - [+] fix(package.json): update test scripts to use TEST_HACK_CRYPTO_BROWSER_ENV instead of BROWSER_ENV * Reorder Jest Configuration - [+] chore(jest.config.js): reorder projects in Jest configuration to list bro... (continued)
260 of 291 branches covered (89.35%)
Branch coverage included in aggregate %.
574 of 666 relevant lines covered (86.19%)
411582.72 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|