Skip to content

Commit

Permalink
Merge pull request #2612 from twolfson/dev/ignore.console.log.sqwished
Browse files Browse the repository at this point in the history
chore: relocate console.log test file into test/e2e and ignore it
  • Loading branch information
dignifiedquire committed Mar 20, 2017
2 parents 0eb8dd9 + 433855a commit f567e20
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tmp/*
docs/_build
*.swp
*.swo
test/e2e/console.log
test/e2e/coverage/coverage
test/e2e/coverageQunit/coverage
test/e2e/coverageRequirejs/coverage
Expand Down
5 changes: 0 additions & 5 deletions console.log

This file was deleted.

18 changes: 9 additions & 9 deletions test/e2e/browser_console.feature
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ Feature: Browser Console Configuration
'karma-phantomjs-launcher'
];
browserConsoleLogOptions = {
path: 'console.log',
path: 'test/e2e/console.log',
format: '%t:%m'
};
"""
When I start Karma
Then the file at console.log contains:
Then the file at test/e2e/console.log contains:
"""
log:'foo'
debug:'bar'
Expand All @@ -77,12 +77,12 @@ Feature: Browser Console Configuration
'karma-phantomjs-launcher'
];
browserConsoleLogOptions = {
path: 'console.log',
path: 'test/e2e/console.log',
format: '%t:%T:%m'
};
"""
When I start Karma
Then the file at console.log contains:
Then the file at test/e2e/console.log contains:
"""
log:LOG:'foo'
debug:DEBUG:'bar'
Expand All @@ -101,13 +101,13 @@ Feature: Browser Console Configuration
'karma-phantomjs-launcher'
];
browserConsoleLogOptions = {
path: 'console.log',
path: 'test/e2e/console.log',
format: '%t:%T:%m',
level: 'warn'
};
"""
When I start Karma
Then the file at console.log contains:
Then the file at test/e2e/console.log contains:
"""
log:LOG:'foo'
warn:WARN:'foobar'
Expand All @@ -124,12 +124,12 @@ Feature: Browser Console Configuration
'karma-phantomjs-launcher'
];
browserConsoleLogOptions = {
path: 'console.log',
path: 'test/e2e/console.log',
format: '%b'
};
"""
When I start Karma
Then the file at console.log contains:
Then the file at test/e2e/console.log contains:
"""
Phantom
"""
Expand All @@ -144,7 +144,7 @@ Feature: Browser Console Configuration
'karma-phantomjs-launcher'
];
browserConsoleLogOptions = {
path: 'console.log',
path: 'test/e2e/console.log',
format: '%b',
terminal: false
};
Expand Down

0 comments on commit f567e20

Please sign in to comment.