Skip to content

Commit d235da8

Browse files
committed
Add bats to fly through Windows
1 parent 5beca76 commit d235da8

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

spec/support/broken_chrome.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
echo "Broken Chrome error message"
2+
echo %0
3+
exit 1

spec/support/custom_chrome.bat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set DIRPATH=%~dp0
2+
type nul >> %DIRPATH%\custom_chrome_called
3+
set /p CHROME=<%DIRPATH%\chrome_path
4+
rem echo %CHROME% %* > %DIRPATH%\chrome_executed
5+
"%CHROME%" %*

spec/support/no_chrome.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dir

0 commit comments

Comments
 (0)