MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / assertExists

Function assertExists

javascript/selenium-webdriver/test/io/zip_test.js:121–123  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

119 })
120
121 function assertExists(p) {
122 assert.ok(fs.existsSync(p), `expected ${p} to exist`)
123 }
124
125 function assertContents(p, c) {
126 assert.strictEqual(fs.readFileSync(p, 'utf8'), c, `unexpected file contents for ${p}`)

Callers 5

zip_test.jsFile · 0.85
getIfLoadedMethod · 0.85
loadMethod · 0.85
wrapFunction · 0.85

Calls 1

okMethod · 0.80

Tested by

no test coverage detected