Socket
Book a DemoInstallSign in
Socket

@codeceptjs/configure

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codeceptjs/configure - npm Package Compare versions

Comparing version

to
0.4.1

7

hooks/setSharedCookies.js

@@ -1,2 +0,2 @@

const { container, config } = require('../codeceptjs');
const { container, config, event } = require('../codeceptjs');

@@ -10,3 +10,3 @@ module.exports = function() {

if (!cookies) cookies = await container.helpers(helper).grabCookie();
request.headers = { Cookie: cookies.map(c => `${c.name}=${c.value}`).join('; ') };
request.headers = { ...request.headers, Cookie: cookies.map(c => `${c.name}=${c.value}`).join('; ') };
}

@@ -25,2 +25,5 @@ if (cfg.helpers.REST) {

}
event.dispatcher.on(event.test.finished, () => {
cookies = null;
});
});

@@ -27,0 +30,0 @@

{
"name": "@codeceptjs/configure",
"version": "0.4.0",
"version": "0.4.1",
"description": "Set of CodeceptJS config hooks to simplify configuration",

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.