Skip to content

Commit f8c7069

Browse files
crisbetovivian-hu-zz
authored andcommitted
build: invalid browser name in karma config (#14081)
Fixes the name of the default browser in the Karma config being invalid and throwing an error when running the tests locally.
1 parent 26c73e0 commit f8c7069

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/karma-browsers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ChromeHeadlesSAUCELABSocal": {
2+
"ChromeHeadlessLocal": {
33
"base": "ChromeHeadless",
44
"flags": [
55
"--window-size=1024,768"

test/karma.conf.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
const path = require('path');
22
const {customLaunchers, platformMap} = require('./browser-providers');
33

4-
module.exports = (config) => {
5-
4+
module.exports = config => {
65
config.set({
76
basePath: path.join(__dirname, '..'),
87
frameworks: ['jasmine'],

0 commit comments

Comments
 (0)