Skip to content

Commit

Permalink
fix(RequisitionRunner): Make sure every component (requisition/publis…
Browse files Browse the repository at this point in the history
…her/subscription) is valid and
  • Loading branch information
virgs committed May 14, 2019
1 parent 4b244ef commit 36f870a
Show file tree
Hide file tree
Showing 14 changed files with 1,416 additions and 1,703 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Certainly one is what you need.
$ nqr -h
Usage: nqr [options] <test-file> [other-test-files...]

Take a look at the full documentation: http://enqueuer.com
Take a look at the full documentation: https://enqueuer.com.com

Options:
-v, --version output the version number
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ <h4 id="if_you_need_more" style="padding-left: 8px">1.2 if you need more</h4>
<pre><code class="yaml"><span class="dollar-sign">$</span> nqr -h
Usage: nqr [options] &lt;test-file&gt; [other-test-files...]

Take a look at the full documentation: http://enqueuer.com
Take a look at the full documentation: https://enqueuer.com.com

Options:
-v, --version output the version number
Expand Down
7 changes: 7 additions & 0 deletions enqueuer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,13 @@ declare module 'requisition-runners/requisition-validator' {
getErrorMessage(): string;
}

}
declare module 'requisition-runners/requisition-parser' {
import { RequisitionModel } from 'models/inputs/requisition-model';
export class RequisitionParser {
parse(content: string): RequisitionModel;
}

}
declare module 'requisition-runners/requisition-file-parser' {
import { RequisitionModel } from 'models/inputs/requisition-model';
Expand Down
7 changes: 0 additions & 7 deletions examples/ignore.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
- publishers:
- type: file
filename: /dev/null
onInit:
assertions:
- ignore: true
expectToBeTruthy: false
- publishers:
- ignore: true
filename: /dev/null
Expand Down
Loading

0 comments on commit 36f870a

Please sign in to comment.