diff --git a/cypress/integration/background-color-spec.js b/cypress/integration/background-color-spec.js index ea7a1ae..4a78664 100644 --- a/cypress/integration/background-color-spec.js +++ b/cypress/integration/background-color-spec.js @@ -1,6 +1,5 @@ /* eslint-env mocha */ /* global cy */ -import hex2rgb from 'hex2rgb' import { editorVisible } from '../support' // usually we can visit the page before each test @@ -40,7 +39,7 @@ describe('background color', () => { cy.url().should('contain', '?bg=') // confirm color change - cy.get('.container-bg .bg').should('have.css', 'background-color', hex2rgb(darkRed).rgbString) + cy.get('.container-bg .bg').should('have.css', 'background-color', 'rgb(208, 2, 27)') }) it('specifies color in url', () => { diff --git a/package.json b/package.json index 85d22d5..f081991 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "eslint": "^5.11.1", "eslint-plugin-import": "^2.11.0", "eslint-plugin-react": "^7.12.2", - "hex2rgb": "^2.2.0", "husky": "^1.3.1", "lint-staged": "^8.1.0", "now": "^12.1.14" diff --git a/yarn.lock b/yarn.lock index af40c30..699a534 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3525,11 +3525,6 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" -hex2rgb@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/hex2rgb/-/hex2rgb-2.2.0.tgz#dbae1d6bf9b22c7907d017a3e6b98608eba0b6fc" - integrity sha1-264da/myLHkH0Bej5rmGCOugtvw= - highlight.js@^9.12.0, highlight.js@^9.13.1: version "9.13.1" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e"