chore(package): remove unused test env
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
Error.stackTraceLimit = 100
|
|
||||||
|
|
||||||
try { require('trace') } catch (_) {}
|
|
||||||
try { require('clarify') } catch (_) {}
|
|
||||||
try { require('source-map-support/register') } catch (_) {}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
--require ./.mocha.js
|
|
||||||
@@ -42,24 +42,17 @@
|
|||||||
"babel-plugin-transform-runtime": "^6.15.0",
|
"babel-plugin-transform-runtime": "^6.15.0",
|
||||||
"babel-preset-es2015": "^6.16.0",
|
"babel-preset-es2015": "^6.16.0",
|
||||||
"babel-preset-stage-0": "^6.16.0",
|
"babel-preset-stage-0": "^6.16.0",
|
||||||
"clarify": "^2.0.0",
|
|
||||||
"dependency-check": "^2.5.1",
|
"dependency-check": "^2.5.1",
|
||||||
"ghooks": "^1.3.2",
|
"ghooks": "^1.3.2",
|
||||||
"mocha": "^3.1.0",
|
"standard": "^8.2.0"
|
||||||
"must": "^0.13.1",
|
|
||||||
"source-map-support": "^0.4.3",
|
|
||||||
"standard": "^8.2.0",
|
|
||||||
"trace": "^2.0.1"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
"build": "NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
||||||
"depcheck": "dependency-check ./package.json",
|
"depcheck": "dependency-check ./package.json",
|
||||||
"dev": "NODE_DEV=development babel --watch --source-maps --out-dir=dist/ src/",
|
"dev": "NODE_DEV=development babel --watch --source-maps --out-dir=dist/ src/",
|
||||||
"dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"",
|
|
||||||
"lint": "standard",
|
"lint": "standard",
|
||||||
"posttest": "npm run lint && npm run depcheck",
|
"posttest": "npm run lint && npm run depcheck",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build"
|
||||||
"test": "mocha --opts .mocha.opts \"dist/**/*.spec.js\""
|
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
/* eslint-env mocha */
|
|
||||||
|
|
||||||
import expect from 'must'
|
|
||||||
|
|
||||||
// ===================================================================
|
|
||||||
|
|
||||||
import myLib from './'
|
|
||||||
|
|
||||||
// ===================================================================
|
|
||||||
|
|
||||||
describe.skip('myLib', () => {
|
|
||||||
it('does something', () => {
|
|
||||||
// TODO: some real tests.
|
|
||||||
|
|
||||||
expect(myLib).to.exists()
|
|
||||||
})
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user