Skip to content

Commit c2780ed

Browse files
Renames build to integration tests
1 parent 8ae30f1 commit c2780ed

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

karma-build-compat.conf.js renamed to karma-integration-compat.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (config) {
77
served: true,
88
included: false,
99
},
10-
'tests/build-compat.test.js',
10+
'tests/integration-compat.test.js',
1111
];
1212

1313
config.set(opts);

karma-build.conf.js renamed to karma-integration.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (config) {
77
served: true,
88
included: false,
99
},
10-
'tests/build.test.js',
10+
'tests/integration.test.js',
1111
];
1212

1313
config.set(opts);

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"url": "https://github.com/alexgorbatchev"
77
},
88
"scripts": {
9-
"test": "npm run test-smoke && npm run test-build && npm run test-build-compat && npm run test-commonjs",
9+
"test": "npm run test-smoke && npm run test-integration && npm run test-integration-compat && npm run test-commonjs",
1010
"test-smoke": "karma start karma-smoke.conf.js --single-run",
11-
"test-build": "gulp build --output=tests/build-dest --theme=tests/build-source/theme.scss --brushes=tests/fixtures/test_brush_v4.js,tests/fixtures/html_test_brush_v3.js && karma start karma-build.conf.js --single-run",
12-
"test-build-compat": "gulp build --compat --output=tests/build-dest --theme=tests/build-source/theme.scss && karma start karma-build-compat.conf.js --single-run",
11+
"test-integration": "gulp build --output=tests/build-dest --theme=tests/build-source/theme.scss --brushes=tests/fixtures/test_brush_v4.js,tests/fixtures/html_test_brush_v3.js && karma start karma-integration.conf.js --single-run",
12+
"test-integration-compat": "gulp build --compat --output=tests/build-dest --theme=tests/build-source/theme.scss && karma start karma-integration-compat.conf.js --single-run",
1313
"test-commonjs": "babel-node --only='src/**,tests/**,syntaxhighlighter-*,brush-*' node_modules/.bin/_mocha --opts tests/mocha.opts tests/commonjs.test.js",
1414
"build": "gulp build --brushes all"
1515
},

tests/build-compat.test.js renamed to tests/integration-compat.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {expect} from 'chai';
33

44
const HTML = require('raw!./build-source/index.html');
55

6-
describe('build-compat', function() {
6+
describe('integration-compat', function() {
77
let div;
88

99
function createScript(src) {
File renamed without changes.

tests/smoke.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function remove(el) {
2727
if(el.parentNode) el.parentNode.removeChild(el);
2828
}
2929

30-
describe('smoke test', function() {
30+
describe('integration', function() {
3131
let highlighter;
3232
let pre;
3333

0 commit comments

Comments
 (0)