Skip to content

Commit b1cce9d

Browse files
committed
Removed mistaken import in index; Refactored queryStringToObject test assertions when checking empty object
1 parent 2317e5f commit b1cce9d

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { CultureParams } from "./interfaces/culture-params";
21
// -----------------------------------------------------------------------------------------
32
// #region Constants
43
// -----------------------------------------------------------------------------------------

src/utilities/route-utils.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ describe("RouteUtils", () => {
228228
const result = RouteUtils.queryStringToObject<any>(inputString);
229229

230230
// Assert
231-
expect(result).not.toBeNull();
232-
expect(typeof result).toBe("object");
231+
expect(result).toEqual({});
233232
}
234233
);
235234

0 commit comments

Comments
 (0)