Skip to content

Bundles JS using Rollup using Cypress task command

Notifications You must be signed in to change notification settings

bahmutov/rolling-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rolling-task

Bundles JS using Rollup using Cypress task command

Cypress 3.x has a new powerful command cy.task that runs in Node, so it has full access to the platform. This demo shows how we can bundle arbitrary JavaScript (Hyperapp with JSX, CSS-in-JS with Picostyle) using Rollup using cy.task and then test it.

See cypress/integration/spec.js and the test application code in cypress/integration/text-app.js. The bundling code is in cypress/plugins/index.js

About

Bundles JS using Rollup using Cypress task command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published