Add an intermediate pending state for widget messages (#323)
* Add an intermediate pending state for widget messages * Remove unnecessary setTimeout * Rename method
This commit is contained in:
parent
070f762293
commit
a3662091c7
7 changed files with 110 additions and 11 deletions
|
@ -2,15 +2,15 @@ process.env.VUE_CLI_BABEL_TARGET_NODE = true;
|
|||
process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true;
|
||||
|
||||
module.exports = {
|
||||
moduleDirectories: ['node_modules', 'app/javascript/app'],
|
||||
moduleFileExtensions: ['js', 'jsx', 'json', 'vue', 'ts', 'tsx', 'vue'],
|
||||
moduleDirectories: ['node_modules', 'app/javascript'],
|
||||
moduleFileExtensions: ['js', 'jsx', 'json', 'vue', 'ts', 'tsx'],
|
||||
automock: false,
|
||||
resetMocks: true,
|
||||
transform: {
|
||||
'^.+\\.vue$': 'vue-jest',
|
||||
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|svg)$':
|
||||
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$':
|
||||
'jest-transform-stub',
|
||||
'^.+\\.jsx?$': 'babel-jest',
|
||||
'^.+\\.(js|jsx)?$': 'babel-jest',
|
||||
},
|
||||
cacheDirectory: '<rootDir>/.jest-cache',
|
||||
collectCoverage: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue