Socket
Socket
Sign inDemoInstall

cypress-example-kitchensink

Package Overview
Dependencies
171
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.15.2 to 1.15.3

1

cypress/integration/2-advanced-examples/assertions.spec.js

@@ -73,3 +73,2 @@ /// <reference types="cypress" />

// return an array of texts from all of the p's
// @ts-ignore TS6133 unused variable
const texts = $p.map((i, el) => Cypress.$(el).text())

@@ -76,0 +75,0 @@

@@ -21,3 +21,2 @@ /// <reference types="cypress" />

// log the subject to the console
// @ts-ignore TS7017
// eslint-disable-next-line no-console

@@ -32,3 +31,2 @@ console[method]('The subject is', subject)

// @ts-ignore TS2339
// eslint-disable-next-line no-unused-vars

@@ -35,0 +33,0 @@ cy.get('button').console('info').then(($button) => {

@@ -5,3 +5,2 @@ /// <reference types="cypress" />

// the built-in JavaScript bundler
// @ts-ignore
const requiredExample = require('../../fixtures/example')

@@ -8,0 +7,0 @@

4

cypress/integration/2-advanced-examples/spies_stubs_clocks.spec.js

@@ -120,3 +120,2 @@ /// <reference types="cypress" />

expect(greeter.greet('World')).to.equal('Hi')
// @ts-ignore
expect(() => greeter.greet(42)).to.throw('Invalid name')

@@ -126,3 +125,2 @@ expect(greeter.greet).to.have.been.calledTwice

// non-matched calls goes the actual method
// @ts-ignore
expect(greeter.greet()).to.equal('Hello, undefined!')

@@ -165,3 +163,3 @@ })

/**
* Returns true if the given number is event
* Returns true if the given number is even
* @param {number} x

@@ -168,0 +166,0 @@ */

@@ -88,3 +88,2 @@ /// <reference types="cypress" />

// return a promise that resolves after 1 second
// @ts-ignore TS2351 (new Cypress.Promise)
// eslint-disable-next-line no-unused-vars

@@ -105,3 +104,2 @@ return new Cypress.Promise((resolve, reject) => {

// is awaited until it resolves
// @ts-ignore TS7006
return waitOneSecond().then((str) => {

@@ -108,0 +106,0 @@ expect(str).to.eq('foo')

{
"name": "cypress-example-kitchensink",
"version": "1.15.2",
"version": "1.15.3",
"description": "This is an example app used to showcase Cypress.io testing. For a full reference of our documentation, go to https://docs.cypress.io",

@@ -11,3 +11,3 @@ "main": "index.js",

"scripts": {
"build": "npm run lint && npm run types",
"build": "npm run lint",
"start": "serve --listen ${PORT:-8080}",

@@ -17,5 +17,4 @@ "start:ci": "serve --no-clipboard --listen ${PORT:-8080}",

"dev": "npm start",
"types": "tsc --noEmit",
"test": "npm start & cypress run",
"pretest": "npm run lint && npm run types",
"pretest": "npm run lint",
"print-env": "print-env",

@@ -84,3 +83,2 @@ "lint": "eslint --fix cypress app/assets/js/scripts.js",

"stop-build": "1.1.0",
"typescript": "3.7.4",
"yaml-lint": "1.2.4"

@@ -87,0 +85,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc