setup mock browser object

This commit is contained in:
Vu Nguyen
2021-01-16 03:08:18 -06:00
parent 3839ad404b
commit 9ecc2144aa
9 changed files with 304 additions and 9 deletions

View File

@@ -39,6 +39,7 @@ load({
prettier: [exec('prettier --write .')],
test: ['build', 'lint', 'test-jest', 'test-js'],
'test-jest': [exec('jest --clearCache'), exec('jest --verbose --coverage')],
'test-jest-update': exec('jest -u'),
'test-js': 'phantomjs tests/run.js',
webpack: [exec('webpack --mode production')],
'webpack:dev': [exec('webpack --mode development')],