Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 6732-6732 (lines=1) @@
6729
 * TODO: add a `localStorage` variable to explicitly enable/disable colors
6730
 */
6731
6732
function useColors() {
6733
  // NB: In an Electron preload script, document will be defined but not fully
6734
  // initialized. Since we know we're in Chrome, we'll just detect this case
6735
  // explicitly

node_modules/mocha/node_modules/debug/src/browser.js 1 location

@@ 44-44 (lines=1) @@
41
 * TODO: add a `localStorage` variable to explicitly enable/disable colors
42
 */
43
44
function useColors() {
45
  // NB: In an Electron preload script, document will be defined but not fully
46
  // initialized. Since we know we're in Chrome, we'll just detect this case
47
  // explicitly