mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-10-23 03:36:18 +02:00
1b4bc46c7b
* Swaps: Show a network name dynamically in a tooltip * Replace “Ethereum” with “$1”, change “Test” to “Testnet” * Replace 이더리움 with $1 * Translate network names, use ‘Ethereum’ by default if a translation is not available yet * Reorder messages to resolve ESLint issues * Add a snapshot test for the FeeCard component, increase Jest threshold * Enable snapshot testing into external .snap files in ESLint * Add the “networkNameEthereum” key in ko/messages.json, remove default “Ethereum” value * Throw an error if chain ID is not supported by the Swaps feature * Use string literals when calling the `t` fn,
15 lines
317 B
JavaScript
15 lines
317 B
JavaScript
module.exports = {
|
|
restoreMocks: true,
|
|
coverageDirectory: 'jest-coverage/',
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 6.94,
|
|
functions: 8.85,
|
|
lines: 11.76,
|
|
statements: 11.78,
|
|
},
|
|
},
|
|
setupFiles: ['./test/setup.js', './test/env.js'],
|
|
testMatch: ['**/ui/**/?(*.)+(test).js'],
|
|
};
|