Files
cypress/docs/test/spec_helper.coffee
Brian Mann 0192212581 docs: wrote custom 'url' tag to generate and validate that all urls are correct
-added docs unit tests
-validate external urls
-validate local urls by looking up their sidebar data translation
-TODO: validate that hashes exist on the suggested page
2017-06-08 16:12:41 -04:00

18 lines
288 B
CoffeeScript

nock = require("nock")
chai = require("chai")
sinon = require("sinon")
sinonChai = require("sinon-chai")
chai.use(sinonChai)
global.nock = nock
global.expect = chai.expect
beforeEach ->
nock.disableNetConnect()
@sandbox = sinon.sandbox.create()
afterEach ->
@sandbox.restore()