Skip to content

Commit

Permalink
don't ignore, use bang
Browse files Browse the repository at this point in the history
  • Loading branch information
crookse committed Jun 22, 2020
1 parent 5555752 commit fbaaa59
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,7 @@ export class RhumRunner {
* @return void
*/
public testCase(name: string, testFn: Function): void {
// @ts-ignore
// TODO(crookse) figure out why this still give sthe "Object is possibly
// undefined" error even though we check if the object exists
this.plan.suites![this.passed_in_test_suite].cases.push({
this.plan.suites[this.passed_in_test_suite].cases!.push({
name,
new_name: this.formatTestCaseName(name),
testFn,
Expand Down

0 comments on commit fbaaa59

Please sign in to comment.