MCPcopy
hub / github.com/react/create-react-app / test

Method test

test/fixtures/__shared__/util/scripts.js:84–89  ·  view source on GitHub ↗
({ jestEnvironment = 'jsdom', env = {} } = {})

Source from the content-addressed store, hash-verified

82 }
83
84 async test({ jestEnvironment = 'jsdom', env = {} } = {}) {
85 return await execaSafe('npm', ['test', '--env', jestEnvironment, '--ci'], {
86 cwd: this.root,
87 env: Object.assign({}, { CI: 'true' }, env),
88 });
89 }
90};

Callers 15

prepareUrlsFunction · 0.80
prepareProxyFunction · 0.80
canReadAssetFunction · 0.80
launchEditorFunction · 0.80
isProcessAReactAppFunction · 0.80
formatMessageFunction · 0.80
configFunction · 0.80
parseStackFunction · 0.80
isNativeFunction · 0.80
bundle_u.mjsFile · 0.80
setFunction · 0.80

Calls 1

execaSafeFunction · 0.85

Tested by

no test coverage detected