Skip to content

Commit 712271b

Browse files
Try to fix travis
1 parent 4a32a64 commit 712271b

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

dist/js/test/tests/main/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var _postcss = _interopRequireDefault(require("postcss"));
88

99
var _parse2 = _interopRequireDefault(require("postcss/lib/parse"));
1010

11-
describe('main > main', function () {
11+
describe('main > main try to fix travis', function () {
1212
const postcssInstance = (0, _postcss.default)();
1313
it('postcss', function () {
1414
postcssInstance.process();

dist/mjs/test/tests/main/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { parse } from '../../../main/parse';
22
import postcss from 'postcss';
33
import postcssParse from 'postcss/lib/parse';
4-
describe('main > main', function () {
4+
describe('main > main try to fix travis', function () {
55
var postcssInstance = postcss();
66
it('postcss', function () {
77
postcssInstance.process();

env/mocha/mocha.opts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
--exclude ./*/**/{src,assets}/**
21
--ui bdd
3-
--watch-extensions js){100}|^(((?!([\\/](dist|tmp|node_modules|\.[^\\/]*)[\\/]|\.(log|bak)$)).)*
42
-r ./env/mocha/register-tests

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
"build:js": "shx rm -rf dist/js/ && shx mkdir -p dist/js/ && shx cp -rf src/test dist/js/ && babel src --out-dir dist/js/ --no-babelrc --config-file ./.babelrc-js.js",
4343
"build": "npm run build:mjs && npm run build:js",
4444
"lint": "eslint --plugin markdown --ext js,md .",
45-
"test:mocha:src": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/tests/**/*.js",
46-
"test:mocha:mjs": "mocha --opts ./env/mocha/mocha.babel.opts ./dist/mjs/test/tests/**/*.js",
47-
"test:mocha:js": "mocha --opts ./env/mocha/mocha.opts ./dist/js/test/tests/**/*.js",
45+
"test:mocha:src": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/tests/main/qweqwe/travis.js",
46+
"test:mocha:mjs": "mocha --opts ./env/mocha/mocha.babel.opts ./dist/mjs/test/tests/main/qweqwe/travis.js",
47+
"test:mocha:js": "mocha --opts ./env/mocha/mocha.opts ./dist/js/test/tests/main/qweqwe/travis.js",
4848
"test": "npm run test:mocha:mjs && npm run test:mocha:js",
4949
"test:all": "npm run lint && npm run clean && npm run test:mocha:src && npm run build && npm run test:mocha:mjs && npm run test:mocha:js",
5050
"test:all:coverage": "npm run lint && npm run clean && npm run build && npm run coverage && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 100 --functions 100 --branches 100",
51-
"watch:mocha": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/tests/**/*.js --watch",
51+
"watch:mocha": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/tests/main/qweqwe/travis.js --watch",
5252
"perf:mocha": "mocha --opts ./env/mocha/mocha.babel.opts ./src/test/performance/**/*.js",
5353
"test:coverage": "npm run test:mocha:src && npm run test:mocha:mjs && npm run test:mocha:js",
5454
"coverage:mocha": "nyc npm run test:coverage",

0 commit comments

Comments
 (0)