build: resolve Quantize dep issue, upgrade Cypress

This commit is contained in:
Lokesh Dhakar
2023-02-27 15:30:44 -08:00
parent ef231c7113
commit 20d3593422
18 changed files with 9764 additions and 8270 deletions

View File

@@ -8,8 +8,8 @@ function rgbCount(text) {
return vals.length / 3
}
describe('getColor()', function() {
before(function() {
describe('getColor()', { testIsolation: false }, function() {
before(function() {
cy.visit('http://localhost:8080/cypress/test-pages/index.html');
})
@@ -18,7 +18,7 @@ describe('getColor()', function() {
const count = rgbCount($el.text())
expect(count).to.equal(1);
});
})
})
it('returns valid color from red image', function() {
cy.get('[data-image="red.png"] .output-color').should(($el) => {
@@ -67,4 +67,4 @@ describe('getPalette()', function() {
let testCounts = [2, 3, 5, 7, 10, 20];
testCounts.forEach((count) => testPaletteCount(count))
})
})

Binary file not shown.

Binary file not shown.

Binary file not shown.