-
-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the end of a process to indicate that the results are ready to se…
…nd to the host process - fixes #400
- Loading branch information
Showing
21 changed files
with
79 additions
and
96 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
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
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
3 changes: 3 additions & 0 deletions
3
source/runner/_tests/fixtures/__DangerfileNoScheduledAsync.ts
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,3 @@ | ||
/*eslint-disable */ | ||
|
||
setTimeout(() => warn("Totally Async"), 1000) |
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
5 changes: 3 additions & 2 deletions
5
source/runner/_tests/fixtures/results/__DangerfileCallback.js.json
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,10 +1,11 @@ | ||
{ | ||
"failures": [], | ||
"fails": [], | ||
"warnings": [ | ||
{ | ||
"message": "Scheduled a callback" | ||
} | ||
], | ||
"messages": [], | ||
"markdowns": [] | ||
"markdowns": [], | ||
"scheduled": [null] | ||
} |
5 changes: 3 additions & 2 deletions
5
source/runner/_tests/fixtures/results/__DangerfileEmpty.js.json
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,7 @@ | ||
{ | ||
"failures": [], | ||
"fails": [], | ||
"warnings": [], | ||
"messages": [], | ||
"markdowns": [] | ||
"markdowns": [], | ||
"scheduled": [] | ||
} |
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
5 changes: 3 additions & 2 deletions
5
source/runner/_tests/fixtures/results/__DangerfileImportRelative.js.json
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,7 @@ | ||
{ | ||
"failures": [], | ||
"fails": [], | ||
"warnings": [], | ||
"messages": [], | ||
"markdowns": [] | ||
"markdowns": [], | ||
"scheduled": [] | ||
} |
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
11 changes: 11 additions & 0 deletions
11
source/runner/_tests/fixtures/results/__DangerfileNoScheduledAsync.ts.json
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,11 @@ | ||
{ | ||
"fails": [], | ||
"warnings": [ | ||
{ | ||
"message": "Totally Async" | ||
} | ||
], | ||
"messages": [], | ||
"markdowns": [], | ||
"scheduled": [] | ||
} |
5 changes: 3 additions & 2 deletions
5
source/runner/_tests/fixtures/results/__DangerfilePlugin.js.json
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,11 +1,12 @@ | ||
{ | ||
"failures": [ | ||
"fails": [ | ||
{ | ||
"message": | ||
"@types dependencies were added to package.json, as a dependency for others.<br/><i>You need to move @types/danger into \"devDependencies\"?</i>" | ||
} | ||
], | ||
"warnings": [], | ||
"messages": [], | ||
"markdowns": [] | ||
"markdowns": [], | ||
"scheduled": [] | ||
} |
5 changes: 3 additions & 2 deletions
5
source/runner/_tests/fixtures/results/__DangerfileScheduled.js.json
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,10 +1,11 @@ | ||
{ | ||
"failures": [], | ||
"fails": [], | ||
"warnings": [ | ||
{ | ||
"message": "Asynchronous Warning" | ||
} | ||
], | ||
"messages": [], | ||
"markdowns": [] | ||
"markdowns": [], | ||
"scheduled": [{}] | ||
} |
5 changes: 3 additions & 2 deletions
5
source/runner/_tests/fixtures/results/__DangerfileTypeScript.ts.json
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,10 +1,11 @@ | ||
{ | ||
"failures": [], | ||
"fails": [], | ||
"warnings": [], | ||
"messages": [ | ||
{ | ||
"message": "Honey, we got Types" | ||
} | ||
], | ||
"markdowns": [] | ||
"markdowns": [], | ||
"scheduled": [] | ||
} |
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