Skip to content

Commit 38e5b09

Browse files
committed
Updated filename in karma test suites
1 parent 7f0aab4 commit 38e5b09

File tree

3 files changed

+3
-47
lines changed

3 files changed

+3
-47
lines changed

karma.conf.es5.js

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
let customize = require('@author.io/karma-customelements')('test/es5', './dist/author-element.es5.js', 'BrowserStack')
2-
//
3-
// module.exports = config => {
4-
// config.set(Object.assign(customize(config), {
5-
// concurrency: 1
6-
// }))
7-
// }
8-
1+
let customize = require('@author.io/karma-customelements')('test/es5', './dist/author-base.es5.js', 'BrowserStack')
92
// require('leaked-handles').set({
103
// // fullStack: true, // use full stack traces
114
// timeout: 10000 // run every 30 seconds instead of 5.
@@ -22,40 +15,3 @@ module.exports = config => {
2215
logLevel: config.LOG_INFO
2316
}))
2417
}
25-
// let preprocessors = (root) => {
26-
// let cfg = {}
27-
//
28-
// cfg[`${root}/**/*.js`] = ['browserify']
29-
// cfg[`${root}/test.html`] = 'html2js'
30-
//
31-
// return cfg
32-
// }
33-
//
34-
// let custombase = Object.assign({}, base)
35-
// delete custombase.getFiles
36-
// custombase.getFiles = (root, file, module = false) => {
37-
// let mainfile = {
38-
// pattern: path.join(process.cwd(), file),
39-
// nocache: true
40-
// }
41-
//
42-
// if (module) {
43-
// mainfile.type = 'module'
44-
// }
45-
//
46-
// return [
47-
// mainfile,
48-
// path.join(root, '/*.js'),
49-
// path.join(root, 'test.html')
50-
// ]
51-
// }
52-
//
53-
// module.exports = function(config) {
54-
// config.set(Object.assign(custombase.configuration, {
55-
// browserStack: {
56-
// username: 'coreybutler2',
57-
// accessKey: '5Myqq6xsMexxpq4YeHRT'
58-
// },
59-
// concurrency: 1
60-
// }))
61-
// }

karma.conf.es6-modules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const customize = require('@author.io/karma-customelements')('test/es6-modules', './dist/author-element.js', 'BrowserStack')
1+
const customize = require('@author.io/karma-customelements')('test/es6-modules', './dist/author-base.js', 'BrowserStack')
22

33
module.exports = config => {
44
config.set(Object.assign(customize(config, true, true), {

karma.conf.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const customize = require('@author.io/karma-customelements')('test/es6', './dist/author-element.js', 'BrowserStack')
1+
const customize = require('@author.io/karma-customelements')('test/es6', './dist/author-base.js', 'BrowserStack')
22

33
module.exports = config => {
44
config.set(Object.assign(customize(config, true, false), {

0 commit comments

Comments
 (0)