mirror of
https://github.com/datashard/snapshot.git
synced 2024-11-23 06:22:28 +00:00
remove base/example files
This commit is contained in:
parent
1636db6455
commit
eef6298744
3 changed files with 0 additions and 50 deletions
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"name": "Using fixtures to represent data",
|
||||
"email": "hello@cypress.io",
|
||||
"body": "Fixtures are a great way to mock data for responses to routes"
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
/* eslint-env mocha */
|
||||
/* global cy */
|
||||
describe('@cypress/snapshot', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('https://example.cypress.io')
|
||||
})
|
||||
|
||||
context('simple types', () => {
|
||||
it('works with objects', () => {
|
||||
cy.wrap({ foo: 42 }).snapshot()
|
||||
})
|
||||
|
||||
it('works with numbers', () => {
|
||||
cy.wrap(42).snapshot()
|
||||
})
|
||||
|
||||
it('works with strings', () => {
|
||||
cy.wrap('foo-bar').snapshot()
|
||||
})
|
||||
|
||||
it('works with arrays', () => {
|
||||
cy.wrap([1, 2, 3]).snapshot()
|
||||
})
|
||||
})
|
||||
})
|
|
@ -1,20 +0,0 @@
|
|||
// ***********************************************************
|
||||
// This example support/index.js is processed and
|
||||
// loaded automatically before your test files.
|
||||
//
|
||||
// This is a great place to put global configuration and
|
||||
// behavior that modifies Cypress.
|
||||
//
|
||||
// You can change the location of this file or turn off
|
||||
// automatically serving support files with the
|
||||
// 'supportFile' configuration option.
|
||||
//
|
||||
// You can read more here:
|
||||
// https://on.cypress.io/configuration
|
||||
// ***********************************************************
|
||||
|
||||
// Import commands.js using ES2015 syntax:
|
||||
import './commands'
|
||||
|
||||
// Alternatively you can use CommonJS syntax:
|
||||
// require('./commands')
|
Loading…
Reference in a new issue