Commit changes: update package name, remove Travis config, and modify snapshot-spec.js

This commit is contained in:
Joshua 2023-02-20 20:14:01 +01:00
parent dbda85c6e1
commit 59d550b56f
7 changed files with 13407 additions and 91 deletions

BIN
.github/assets/updated-mismatch.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View file

@ -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

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -1,9 +1,9 @@
{
"name": "cypress-snapshot",
"name": "@datashard/snapshot",
"description": "Adds value / object / DOM element snapshot testing support to Cypress test runner",
"version": "1.0.1",
"author": "Joshua D. <data@shard.wtf>, Gleb Bahmutov <gleb@cypress.io>",
"bugs": "https://github.com/cypress-io/snapshot/issues",
"author": "Joshua <data@shard.wtf>, Gleb Bahmutov <gleb@cypress.io>",
"bugs": "https://github.com/datashard/snapshot/issues",
"engines": {
"node": ">=6"
},
@ -13,7 +13,7 @@
"src/*/**",
"!src/*-spec.js"
],
"homepage": "https://github.com/cypress-io/snapshot#readme",
"homepage": "https://github.com/datashard/snapshot#readme",
"keywords": [
"cypress",
"cypress-io",
@ -24,12 +24,9 @@
"license": "MIT",
"main": "src/index.js",
"private": false,
"publishConfig": {
"registry": "https://pkgs.dev.azure.com/CPCorporatePlanningAG/_packaging/webclient/npm/registry/"
},
"repository": {
"type": "git",
"url": "https://github.com/cypress-io/snapshot.git"
"url": "https://github.com/datashard/snapshot.git"
},
"scripts": {
"ban": "ban",
@ -42,7 +39,6 @@
"test": "npm run unit",
"unit": "mocha src/*-spec.js",
"unused-deps": "dependency-check --unused --no-dev . --entry src/add-initial-snapshot-file.js",
"postinstall": "echo 'no postinstall script'",
"semantic-release": "semantic-release",
"cypress:open": "cypress open",
"cypress:run": "cypress run"

View file

@ -1,24 +1,17 @@
{
"extends": [
"config:base"
],
"extends": ["config:base"],
"automerge": true,
"major": {
"automerge": false
},
"updateNotScheduled": false,
"timezone": "America/New_York",
"schedule": [
"every weekend"
],
"timezone": "Europe/Berlin",
"schedule": ["every weekend"],
"lockFileMaintenance": {
"enabled": true
},
"separatePatchReleases": true,
"separateMultipleMajor": true,
"masterIssue": true,
"labels": [
"type: dependencies",
"renovate"
]
"labels": ["type: dependencies", "renovate"]
}

View file

@ -5,7 +5,7 @@ const api = require('.')
const la = require('lazy-ass')
const is = require('check-more-types')
describe('@cypress/snapshot', () => {
describe('@datashard/snapshot', () => {
it('is an object', () => {
la(is.object(api))
})