Skip to content

Commit 337c269

Browse files
committed
Update devDeps
1 parent 18d6006 commit 337c269

File tree

4 files changed

+48
-44
lines changed

4 files changed

+48
-44
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# [jQuery Spinner](https://vsn4ik.github.io/jquery.spinner/)
22

33
[![License](https://img.shields.io/npm/l/jquery.spinner.svg)][license]
4-
[![Build Status](https://travis-ci.org/vsn4ik/jquery.spinner.svg)](https://travis-ci.org/vsn4ik/jquery.spinner)
4+
![Build Status](https://action-badges.now.sh/vsn4ik/jquery.spinner)
55
[![devDependency Status](https://david-dm.org/vsn4ik/jquery.spinner/dev-status.svg)](https://david-dm.org/vsn4ik/jquery.spinner?type=dev)
66

77

dist/js/jquery.spinner.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/tests/karma.conf.js

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,41 @@
1-
process.env.CHROME_BIN = require('puppeteer').executablePath();
1+
// process.env.CHROME_BIN = require('puppeteer').executablePath();
22

3-
module.exports = function(config) {
4-
config.set({
5-
browsers: [
6-
'ChromeHeadlessCustom'
7-
],
8-
customLaunchers: {
9-
ChromeHeadlessCustom: {
10-
base: 'ChromiumHeadless',
11-
flags: [
12-
'--no-sandbox',
13-
'--headless',
14-
'--disable-gpu',
15-
'--disable-translate',
16-
'--disable-extensions'
17-
]
18-
}
19-
},
20-
basePath: '../..',
21-
frameworks: [
22-
'qunit'
23-
],
24-
plugins: [
25-
'karma-qunit',
26-
'karma-chrome-launcher'
27-
],
28-
files: [
29-
'node_modules/jquery/dist/jquery.slim.js',
30-
'js/jquery.spinner.js',
31-
'js/tests/unit/unit.js'
32-
],
33-
autoWatch: false,
34-
singleRun: true,
35-
concurrency: Infinity
36-
})
37-
}
3+
const conf = {
4+
browsers: [
5+
'ChromeHeadless'
6+
// 'ChromeHeadlessCustom'
7+
],
8+
// customLaunchers: {
9+
// ChromeHeadlessCustom: {
10+
// base: 'ChromiumHeadless',
11+
// flags: [
12+
// '--no-sandbox',
13+
// '--headless',
14+
// '--disable-gpu',
15+
// '--disable-translate',
16+
// '--disable-extensions'
17+
// ]
18+
// }
19+
// },
20+
basePath: '../..',
21+
colors: true,
22+
frameworks: [
23+
'qunit'
24+
],
25+
plugins: [
26+
'karma-qunit',
27+
'karma-chrome-launcher'
28+
],
29+
files: [
30+
'node_modules/jquery/dist/jquery.slim.js',
31+
'js/jquery.spinner.js',
32+
'js/tests/unit/unit.js'
33+
],
34+
autoWatch: false,
35+
singleRun: true,
36+
concurrency: Infinity
37+
};
38+
39+
module.exports = (config) => {
40+
config.set(conf);
41+
};

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040
"release-zip": "cd dist/ && zip -r9 $npm_package_name-$npm_package_version-dist.zip * && mv $npm_package_name-$npm_package_version-dist.zip .."
4141
},
4242
"devDependencies": {
43-
"puppeteer": "1.17.0",
44-
"karma": "4.1.0",
45-
"karma-chrome-launcher": "2.2.0",
46-
"karma-qunit": "3.1.2",
43+
"puppeteer": "1.19.0",
44+
"karma": "4.3.0",
45+
"karma-chrome-launcher": "3.1.0",
46+
"karma-qunit": "4.0.0",
4747
"karma-sinon": "1.0.5",
4848
"clean-css-cli": "4.3.0",
49-
"terser": "4.0.0",
50-
"less": "3.9.0",
49+
"terser": "4.3.0",
50+
"less": "3.10.3",
5151
"jquery": "3.4.1",
5252
"qunit": "2.9.2"
5353
}

0 commit comments

Comments
 (0)