UNPKG

cypress

Version:

Cypress is a next generation front end testing tool built for the modern web

9 lines (7 loc) • 358 B
// Cypress adds chai expect and assert to global // Only `var` lands on `typeof globalThis` in an ambient global declaration, // which is what keeps `expect` and `assert` reachable on `window` and `globalThis`. // eslint-disable-next-line no-var declare var expect: Chai.ExpectStatic // eslint-disable-next-line no-var declare var assert: Chai.AssertStatic