@revoloo/cypress6
Version:
Cypress.io end to end testing tool
18 lines (15 loc) • 477 B
text/typescript
import _ from 'lodash'
import { browsers } from '../../lib/browsers'
import { expect } from 'chai'
const snapshot = require('snap-shot-it')
describe('browsers', () => {
it('returns the expected list of browsers', () => {
snapshot(browsers)
})
// https://github.com/cypress-io/cypress/issues/6669
it('exports multiline versionRegexes', () => {
expect(_.every(browsers.map(({ versionRegex }) => {
return versionRegex.multiline
}))).to.be.true
})
})