New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@helpscout/cyan

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helpscout/cyan - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

dist/__tests__/configuration.test.js

2

dist/__tests__/examples/Dropdown.test.js

@@ -11,2 +11,4 @@ "use strict";

_index.cy.useFakeTimers();
describe('Dropdown', function () {

@@ -13,0 +15,0 @@ test('Can open a Dropdown', function () {

@@ -11,2 +11,4 @@ "use strict";

_index.cy.useFakeTimers();
describe('Modal', function () {

@@ -13,0 +15,0 @@ test('Can open/close a Modal', function () {

6

dist/commands/action.commands.js

@@ -10,2 +10,4 @@ "use strict";

var _timers = require("../timers");
var _keyEvent = require("../utils/keyEvent.utils");

@@ -61,3 +63,3 @@

jest.runAllTimers();
(0, _timers.runAllTimers)();
return this;

@@ -105,3 +107,3 @@ }

jest.runAllTimers();
(0, _timers.runAllTimers)();
return this;

@@ -108,0 +110,0 @@ }

@@ -10,2 +10,4 @@ "use strict";

var _timers = require("../timers");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -25,3 +27,3 @@

jest.runAllTimers();
(0, _timers.runAllTimers)();
return this;

@@ -28,0 +30,0 @@ }, _objectSpread2));

@@ -16,7 +16,15 @@ "use strict";

var timerFunctions = _interopRequireWildcard(require("./timers"));
var _render = _interopRequireDefault(require("./render"));
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var cy = {
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var cy = _objectSpread({
get: function get(selector) {

@@ -35,4 +43,5 @@ return new _cyan.default((0, _selector.get)(selector));

render: _render.default
};
}, timerFunctions);
var _default = cy;
exports.default = _default;

@@ -22,2 +22,4 @@ "use strict";

var _timers = require("./timers");
var _render = require("./utils/render.utils");

@@ -47,3 +49,3 @@

jest.runAllTimers();
(0, _timers.runAllTimers)();
return {

@@ -50,0 +52,0 @@ debug: _debug.default,

@@ -12,8 +12,7 @@ "use strict";

var _configuration = require("./configuration");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var setupTests = function () {
beforeAll(function () {
jest.useFakeTimers();
});
beforeEach(function () {

@@ -30,2 +29,3 @@ jest.spyOn(window, 'requestAnimationFrame').mockImplementation(function (cb) {

(0, _store.completelyResetStore)();
(0, _configuration.resetConfig)();
});

@@ -32,0 +32,0 @@ };

@@ -18,2 +18,4 @@ "use strict";

var _timers = require("../timers");
var _is = require("./is.utils");

@@ -39,3 +41,3 @@

jest.runAllTimers();
(0, _timers.runAllTimers)();
}

@@ -42,0 +44,0 @@ });

{
"name": "@helpscout/cyan",
"version": "0.0.8",
"version": "0.0.9",
"description": "Cypress-like Testing for React + JSDOM",

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

@@ -33,2 +33,4 @@ # 🐱 Cyan

cy.useFakeTimers()
test('Can open/close a Modal', () => {

@@ -35,0 +37,0 @@ cy.render(

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