remove hex2rgb

main
Mike Fix 6 years ago
parent 1adbb58212
commit 81aa1de6fd

@ -1,6 +1,5 @@
/* eslint-env mocha */ /* eslint-env mocha */
/* global cy */ /* global cy */
import hex2rgb from 'hex2rgb'
import { editorVisible } from '../support' import { editorVisible } from '../support'
// usually we can visit the page before each test // usually we can visit the page before each test
@ -40,7 +39,7 @@ describe('background color', () => {
cy.url().should('contain', '?bg=') cy.url().should('contain', '?bg=')
// confirm color change // 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', () => { it('specifies color in url', () => {

@ -60,7 +60,6 @@
"eslint": "^5.11.1", "eslint": "^5.11.1",
"eslint-plugin-import": "^2.11.0", "eslint-plugin-import": "^2.11.0",
"eslint-plugin-react": "^7.12.2", "eslint-plugin-react": "^7.12.2",
"hex2rgb": "^2.2.0",
"husky": "^1.3.1", "husky": "^1.3.1",
"lint-staged": "^8.1.0", "lint-staged": "^8.1.0",
"now": "^12.1.14" "now": "^12.1.14"

@ -3525,11 +3525,6 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3" inherits "^2.0.3"
minimalistic-assert "^1.0.1" 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: highlight.js@^9.12.0, highlight.js@^9.13.1:
version "9.13.1" version "9.13.1"
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e"

Loading…
Cancel
Save