mirror of
https://github.com/datashard/snapshot.git
synced 2024-12-22 01:47:35 +00:00
Commit changes: update package name, remove Travis config, and modify snapshot-spec.js
This commit is contained in:
parent
dbda85c6e1
commit
59d550b56f
7 changed files with 13407 additions and 91 deletions
BIN
.github/assets/updated-mismatch.png
vendored
Normal file
BIN
.github/assets/updated-mismatch.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
16
.travis.yml
16
.travis.yml
|
@ -1,16 +0,0 @@
|
||||||
language: node_js
|
|
||||||
notifications:
|
|
||||||
email: true
|
|
||||||
node_js:
|
|
||||||
- 10
|
|
||||||
|
|
||||||
# Retry install on fail to avoid failing a build on network/disk/external errors
|
|
||||||
install:
|
|
||||||
- travis_retry npm ci
|
|
||||||
|
|
||||||
script:
|
|
||||||
- npm run test
|
|
||||||
- npm run cypress:run
|
|
||||||
|
|
||||||
after_success:
|
|
||||||
- npm run semantic-release
|
|
|
@ -1,12 +0,0 @@
|
||||||
Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the issue.
|
|
||||||
|
|
||||||
## Is this a bug report or a feature request?
|
|
||||||
|
|
||||||
If this is a bug report, please provide as much info as possible
|
|
||||||
|
|
||||||
- version
|
|
||||||
- platform
|
|
||||||
- expected behavior
|
|
||||||
- actual behavior
|
|
||||||
|
|
||||||
If this is a new feature request, please describe it below
|
|
13439
package-lock.json
generated
13439
package-lock.json
generated
File diff suppressed because it is too large
Load diff
14
package.json
14
package.json
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "cypress-snapshot",
|
"name": "@datashard/snapshot",
|
||||||
"description": "Adds value / object / DOM element snapshot testing support to Cypress test runner",
|
"description": "Adds value / object / DOM element snapshot testing support to Cypress test runner",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"author": "Joshua D. <data@shard.wtf>, Gleb Bahmutov <gleb@cypress.io>",
|
"author": "Joshua <data@shard.wtf>, Gleb Bahmutov <gleb@cypress.io>",
|
||||||
"bugs": "https://github.com/cypress-io/snapshot/issues",
|
"bugs": "https://github.com/datashard/snapshot/issues",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
},
|
},
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
"src/*/**",
|
"src/*/**",
|
||||||
"!src/*-spec.js"
|
"!src/*-spec.js"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/cypress-io/snapshot#readme",
|
"homepage": "https://github.com/datashard/snapshot#readme",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"cypress",
|
"cypress",
|
||||||
"cypress-io",
|
"cypress-io",
|
||||||
|
@ -24,12 +24,9 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"private": false,
|
"private": false,
|
||||||
"publishConfig": {
|
|
||||||
"registry": "https://pkgs.dev.azure.com/CPCorporatePlanningAG/_packaging/webclient/npm/registry/"
|
|
||||||
},
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/cypress-io/snapshot.git"
|
"url": "https://github.com/datashard/snapshot.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ban": "ban",
|
"ban": "ban",
|
||||||
|
@ -42,7 +39,6 @@
|
||||||
"test": "npm run unit",
|
"test": "npm run unit",
|
||||||
"unit": "mocha src/*-spec.js",
|
"unit": "mocha src/*-spec.js",
|
||||||
"unused-deps": "dependency-check --unused --no-dev . --entry src/add-initial-snapshot-file.js",
|
"unused-deps": "dependency-check --unused --no-dev . --entry src/add-initial-snapshot-file.js",
|
||||||
"postinstall": "echo 'no postinstall script'",
|
|
||||||
"semantic-release": "semantic-release",
|
"semantic-release": "semantic-release",
|
||||||
"cypress:open": "cypress open",
|
"cypress:open": "cypress open",
|
||||||
"cypress:run": "cypress run"
|
"cypress:run": "cypress run"
|
||||||
|
|
|
@ -1,24 +1,17 @@
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": ["config:base"],
|
||||||
"config:base"
|
|
||||||
],
|
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
"major": {
|
"major": {
|
||||||
"automerge": false
|
"automerge": false
|
||||||
},
|
},
|
||||||
"updateNotScheduled": false,
|
"updateNotScheduled": false,
|
||||||
"timezone": "America/New_York",
|
"timezone": "Europe/Berlin",
|
||||||
"schedule": [
|
"schedule": ["every weekend"],
|
||||||
"every weekend"
|
|
||||||
],
|
|
||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"separatePatchReleases": true,
|
"separatePatchReleases": true,
|
||||||
"separateMultipleMajor": true,
|
"separateMultipleMajor": true,
|
||||||
"masterIssue": true,
|
"masterIssue": true,
|
||||||
"labels": [
|
"labels": ["type: dependencies", "renovate"]
|
||||||
"type: dependencies",
|
|
||||||
"renovate"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ const api = require('.')
|
||||||
const la = require('lazy-ass')
|
const la = require('lazy-ass')
|
||||||
const is = require('check-more-types')
|
const is = require('check-more-types')
|
||||||
|
|
||||||
describe('@cypress/snapshot', () => {
|
describe('@datashard/snapshot', () => {
|
||||||
it('is an object', () => {
|
it('is an object', () => {
|
||||||
la(is.object(api))
|
la(is.object(api))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue