Upgrade Ava to v4
This commit is contained in:
parent
9a40cc5274
commit
ce89f1b611
1153 changed files with 27264 additions and 95308 deletions
3
node_modules/yargs/lib/platform-shims/browser.mjs
generated
vendored
3
node_modules/yargs/lib/platform-shims/browser.mjs
generated
vendored
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable no-unused-vars */
|
||||
'use strict';
|
||||
|
||||
import cliui from 'https://unpkg.com/cliui@7.0.1/index.mjs'; // eslint-disable-line
|
||||
|
|
@ -40,10 +41,12 @@ export default {
|
|||
process: {
|
||||
argv: () => [],
|
||||
cwd: () => '',
|
||||
emitWarning: (warning, name) => {},
|
||||
execPath: () => '',
|
||||
// exit is noop browser:
|
||||
exit: () => {},
|
||||
nextTick: cb => {
|
||||
// eslint-disable-next-line no-undef
|
||||
window.setTimeout(cb, 1);
|
||||
},
|
||||
stdColumns: 80,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue