Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cypress-should

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-should - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

13

index.d.ts

@@ -385,15 +385,2 @@ /// <reference types="cypress" />

/**
* Custom Chai assertion that checks that the response content type is equal to text content type
* @example
* ```
* cy.request('/users').should('be.text');
* or
* cy.request('/users').should((response) => {
* expect(response).to.be.text;
* });
* ```
* */
(chainer: 'be.text'): Chainable<Subject>;
/**
* Custom Chai assertion that checks that the response cookies contain given cookie

@@ -400,0 +387,0 @@ * @example

@@ -212,9 +212,2 @@ /* eslint-disable no-undef */

[
'text',
function toBeText() {
const actualContentType = this._obj.headers['content-type'];
assert(actualContentType).to.eq('text/plain');
},
],
[
'javascript',

@@ -221,0 +214,0 @@ function toBeJavascript() {

2

package.json
{
"name": "cypress-should",
"version": "0.0.2",
"version": "0.0.3",
"description": "Supercool assertion library for Cypress",

@@ -5,0 +5,0 @@ "main": "./index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc