Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jan 18, 2024
1 parent c90218a commit 8e04704
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/abc/st/test/base.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,7 @@ export class PageObject<T extends TestComponent> {
expectData(row: number, path: string, valule: NzSafeAny, options?: { message?: string }): this {
const ret = deepGet(this.comp._data[row - 1], path);
if (options?.message != null) {
expect(ret)
.withContext(options?.message)
.toBe(valule);
expect(ret).withContext(options.message).toBe(valule);
} else {
expect(ret).toBe(valule);
}
Expand Down

0 comments on commit 8e04704

Please sign in to comment.