Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc93fc6
commit bcb835c
Showing
7 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This will treat all files as text files and convert to OS's line ending on checkout | ||
# and back to LF on commit automatically. | ||
# It also leaves all files detected as binary untouched. | ||
* text=auto | ||
|
||
.gitignore text | ||
*.md text | ||
*.js text eol=lf | ||
*.jsx text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
const nightwatchConfig = require('./lib/nightwatch/nightwatch.config.js').default; | ||
const webpackConfig = require('./tests/test.config.js'); | ||
const path = require('path'); | ||
|
||
const config = nightwatchConfig(webpackConfig, 'tests/nightwatch/'); | ||
const testPath = path.join('tests', 'nightwatch'); | ||
const config = nightwatchConfig(webpackConfig, testPath); | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
const nightwatchConfig = require('../lib/nightwatch/nightwatch.config.js').default; | ||
const webpackConfig = require('./test.config.js'); | ||
const path = require('path'); | ||
|
||
const testPath = path.join('tests', 'nightwatch'); | ||
|
||
// Allows one to specify port number in configuration | ||
const config = nightwatchConfig(webpackConfig, ['tests/nightwatch/'], 9000); | ||
const config = nightwatchConfig(webpackConfig, [testPath], 9000); | ||
|
||
module.exports = config; |