mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-26 06:14:25 +00:00
build: resolve Quantize dep issue, upgrade Cypress
This commit is contained in:
9
cypress/e2e/module.cy.js
Normal file
9
cypress/e2e/module.cy.js
Normal file
@@ -0,0 +1,9 @@
|
||||
describe('es6 module', function() {
|
||||
it('loads', function() {
|
||||
cy.visit('http://localhost:8080/cypress/test-pages/es6-module.html');
|
||||
cy.get('#result').should(($el) => {
|
||||
const count = $el.text().split(',').length
|
||||
expect(count).to.equal(3);
|
||||
});
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user