Skip to content

Commit fada403

Browse files
author
Irfan Maulana
committed
fix lint and add puppeter
1 parent 83285a5 commit fada403

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/RangedatePicker.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@
194194
line-height: 2em;
195195
}
196196
197+
.calendar_preset li {
198+
line-height: 2.6em;
199+
width: auto;
200+
display: block;
201+
}
202+
197203
.calendar_days li:hover {
198204
background: #eee;
199205
color: #000;
@@ -213,12 +219,6 @@ li.calendar_days_in-range {
213219
padding: 0;
214220
}
215221
216-
.calendar_preset li {
217-
line-height: 2.6em;
218-
width: auto;
219-
display: block;
220-
}
221-
222222
.calendar_preset li.calendar_preset-ranges {
223223
padding: 0 30px 0 10px;
224224
margin-bottom: 5px;

test/karma.conf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ vueRule.options.loaders.js = 'babel-loader'
1616
// no need for app entry during tests
1717
delete webpackConfig.entry
1818

19+
process.env.CHROME_BIN = require('puppeteer').executablePath()
20+
1921
module.exports = function (config) {
2022
config.set({
2123
// to run in additional browsers:
2224
// 1. install corresponding karma launcher
2325
// http://karma-runner.github.io/0.13/config/browsers.html
2426
// 2. add it to the `browsers` array below.
25-
browsers: ['Chrome'],
27+
browsers: ['ChromeHeadless', 'Chrome'],
2628
frameworks: ['mocha', 'chai-dom', 'sinon-chai'],
2729
reporters: ['spec', 'coverage'],
2830
files: ['./index.js'],

0 commit comments

Comments
 (0)