jest-constants
Advanced tools
Comparing version 0.0.2 to 0.0.3
36
index.js
@@ -0,1 +1,9 @@ | ||
/** | ||
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
'use strict'; | ||
@@ -12,29 +20,3 @@ | ||
// log levels | ||
exports.LOG_DISABLE = 'OFF'; | ||
exports.LOG_ERROR = 'ERROR'; | ||
exports.LOG_WARN = 'WARN'; | ||
exports.LOG_INFO = 'INFO'; | ||
exports.LOG_DEBUG = 'DEBUG'; | ||
// Default patterns for the logger | ||
exports.COLOR_PATTERN = '%[%d{DATE}:%p [%c]: %]%m'; | ||
exports.NO_COLOR_PATTERN = '%d{DATE}:%p [%c]: %m'; | ||
exports.MAX_WORKERS = require('os').cpus().length; | ||
exports.GLOB_OPTS = { | ||
// cwd: '/', | ||
follow: true, | ||
nodir: true, | ||
sync: true, | ||
}; | ||
// Default console appender | ||
exports.CONSOLE_APPENDER = { | ||
type: 'console', | ||
layout: { | ||
type: 'pattern', | ||
pattern: exports.COLOR_PATTERN, | ||
}, | ||
}; | ||
exports.NODE_MODULES = path.sep + 'node_modules' + path.sep; |
{ | ||
"name": "jest-constants", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "index.js" | ||
} | ||
} |
720
16