mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-22 15:12:27 -05:00
5f771936e3
* fix cli unit tests with mockfs * mockfs fix flaky verify_spec
10 lines
178 B
JavaScript
10 lines
178 B
JavaScript
const _snapshot = require('snap-shot-it')
|
|
const mockfs = require('mock-fs')
|
|
|
|
const snapshot = (...args) => {
|
|
mockfs.restore()
|
|
_snapshot(...args)
|
|
}
|
|
|
|
module.exports = snapshot
|