Skip to content

Commit

Permalink
#1918 - fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Brajesh Kumar authored and Brajesh Kumar committed Oct 20, 2023
1 parent e746363 commit ea64ac4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { DatabaseEntity } from "../../entity/database-entity.decorator";
import { Entity } from "../../entity/model/entity";
import { ConfigurableEnumValue } from "../../basic-datatypes/configurable-enum/configurable-enum.interface";
import { DatabaseField } from "../../entity/database-field.decorator";
import { Inactive } from "app/child-dev-project/children/child-block/child-block.stories";

describe("DownloadService", () => {
let service: DownloadService;
Expand Down Expand Up @@ -105,7 +106,7 @@ describe("DownloadService", () => {
const rows = csvExport.split(DownloadService.SEPARATOR_ROW);
expect(rows).toHaveSize(1 + 1); // includes 1 header line
const columnValues = rows[1].split(DownloadService.SEPARATOR_COL);
if (! testEntity){
if (! testEntity) {
expect(columnValues).toHaveSize(3 + 1); // Properties + _id
expect(columnValues).toContain('"' + testEnumValue.label + '"');
expect(columnValues).toContain('"' + testDate + '"');
Expand Down

0 comments on commit ea64ac4

Please sign in to comment.