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

@eeacms/volto-accordion-block

Package Overview
Dependencies
Maintainers
8
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eeacms/volto-accordion-block - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

.coverage.babel.config.js

6

CHANGELOG.md

@@ -7,4 +7,10 @@ ### Changelog

#### [3.2.3](https://github.com/eea/volto-accordion-block/compare/3.2.2...3.2.3)
- Cypress coverage [`#13`](https://github.com/eea/volto-accordion-block/pull/13)
#### [3.2.2](https://github.com/eea/volto-accordion-block/compare/3.2.1...3.2.2)
> 13 May 2021
- [JENKINS] - Auto-release pipeline [`#12`](https://github.com/eea/volto-accordion-block/pull/12)

@@ -11,0 +17,0 @@ - [JENKINS] - Update cypress tests [`aedfb80`](https://github.com/eea/volto-accordion-block/commit/aedfb80a8fe8a275fba3617fe96e8c0c09914421)

1

cypress.json

@@ -9,4 +9,5 @@ {

"mochaFile": "cypress/reports/cypress-[hash].xml",
"jenkinsMode": true,
"toConsole": true
}
}

32

cypress/integration/blocks-accordion.js

@@ -1,29 +0,7 @@

describe('Block Tests', () => {
beforeEach(() => {
cy.autologin();
cy.createContent({
contentType: 'Folder',
contentId: 'cypress',
contentTitle: 'Cypress',
});
cy.createContent({
contentType: 'Document',
contentId: 'my-page',
contentTitle: 'My Page',
path: 'cypress',
});
cy.visit('/cypress/my-page');
cy.waitForResourceToLoad('@navigation');
cy.waitForResourceToLoad('@breadcrumbs');
cy.waitForResourceToLoad('@actions');
cy.waitForResourceToLoad('@types');
cy.waitForResourceToLoad('my-page');
cy.navigate('/cypress/my-page/edit');
cy.get(`.block.title [data-contents]`);
});
import { setupBeforeEach, tearDownAfterEach } from '../support';
afterEach(() => {
cy.autologin();
cy.removeContent('cypress');
});
describe('Blocks Tests', () => {
beforeEach(setupBeforeEach);
afterEach(tearDownAfterEach);
it('Accordion Block: add accordion content', () => {

@@ -30,0 +8,0 @@ // Change page title

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

// `config` is the resolved Cypress config
/* coverage-start
require('@cypress/code-coverage/task')(on, config)
on('file:preprocessor', require('@cypress/code-coverage/use-babelrc'))
return config
coverage-end */
};

@@ -21,1 +21,34 @@ // ***********************************************************

// require('./commands')
/* coverage-start
//Generate code-coverage
import '@cypress/code-coverage/support';
coverage-end */
export const setupBeforeEach = () => {
cy.autologin();
cy.createContent({
contentType: 'Folder',
contentId: 'cypress',
contentTitle: 'Cypress',
});
cy.createContent({
contentType: 'Document',
contentId: 'my-page',
contentTitle: 'My Page',
path: 'cypress',
});
cy.visit('/cypress/my-page');
cy.waitForResourceToLoad('@navigation');
cy.waitForResourceToLoad('@breadcrumbs');
cy.waitForResourceToLoad('@actions');
cy.waitForResourceToLoad('@types');
cy.waitForResourceToLoad('my-page');
cy.navigate('/cypress/my-page/edit');
cy.get(`.block.title [data-contents]`);
};
export const tearDownAfterEach = () => {
cy.autologin();
cy.removeContent('cypress');
};
{
"name": "@eeacms/volto-accordion-block",
"version": "3.2.2",
"version": "3.2.3",
"description": "volto-accordion-block: Volto accordion block",

@@ -20,6 +20,8 @@ "main": "src/index.js",

},
"dependencies": {},
"devDependencies": {
"release-it": "*"
"release-it": "*",
"@cypress/code-coverage": "^3.9.5",
"babel-plugin-transform-class-properties": "^6.24.1"
},
"dependencies": {},
"scripts": {

@@ -26,0 +28,0 @@ "release": "release-it",

Sorry, the diff of this file is not supported yet

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