Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
1
zip_test.js
File · 0.85
Calls
1
ok
Method · 0.80
Tested by
no test coverage detected