MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / applyAndCreate

Function applyAndCreate

test/unit/plugin/browser_test.js:5–9  ·  view source on GitHub ↗
(args, base = {})

Source from the content-addressed store, hash-verified

3import Config from '../../../lib/config.js'
4
5async function applyAndCreate(args, base = {}) {
6 Config.reset()
7 await browser({ _args: args })
8 return Config.create(base)
9}
10
11describe('browser plugin', () => {
12 beforeEach(() => Config.reset())

Callers 1

browser_test.jsFile · 0.85

Calls 2

resetMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected