Skip to content

Commit 27462e8

Browse files
committed
fix: better error when DARTIUM_BIN not set
Now Karma will throw: No binary for Dartium browser on your platform. Please, set "DARTIUM_BIN" env variable. Instead of [TypeError: Cannot read property 'darwin' of undefined]
1 parent c6dbcbd commit 27462e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ var DartiumBrowser = function(baseBrowserDecorator, args) {
9090

9191
DartiumBrowser.prototype = {
9292
name: 'Dartium',
93-
93+
DEFAULT_CMD: {},
9494
ENV_CMD: 'DARTIUM_BIN'
9595
};
9696

0 commit comments

Comments
 (0)