Skip to content

Commit

Permalink
added missing colon for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan authored and bpedersen2 committed Jan 19, 2024
1 parent 806f3c9 commit 16f68b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe("InstrumentsReducer", () => {
it("should set sortField filter and set skip filter to 0", () => {
const column = "test";
const direction = "asc";
const sortField = column + " " + direction;
const sortField = column + ":" + direction;
const action = fromActions.sortByColumnAction({ column, direction });
const state = instrumentsReducer(initialInstrumentState, action);

Expand Down
2 changes: 1 addition & 1 deletion src/app/state-management/reducers/jobs.reducer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe("jobsReducer", () => {
it("should set sortField filter and set skip filter to 0", () => {
const column = "test";
const direction = "asc";
const sortField = column + " " + direction;
const sortField = column + ":" + direction;
const action = fromActions.sortByColumnAction({ column, direction });
const state = jobsReducer(initialJobsState, action);

Expand Down
4 changes: 2 additions & 2 deletions src/app/state-management/reducers/policies.reducer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe("PoliciesReducer", () => {
it("should set sortField policies filter and set skip to 0", () => {
const column = "test";
const direction = "desc";
const sortField = column + " " + direction;
const sortField = column + ":" + direction;
const action = fromActions.sortByColumnAction({ column, direction });
const state = policiesReducer(initialPolicyState, action);

Expand All @@ -168,7 +168,7 @@ describe("PoliciesReducer", () => {
it("should set sortField editable filter and set skip to 0", () => {
const column = "test";
const direction = "desc";
const sortField = column + " " + direction;
const sortField = column + ":" + direction;
const action = fromActions.sortEditableByColumnAction({
column,
direction,
Expand Down

0 comments on commit 16f68b2

Please sign in to comment.