Skip to content

Commit

Permalink
drop feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ogroppo committed Jul 5, 2024
1 parent 89f07bd commit 04c4595
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 301 deletions.
99 changes: 0 additions & 99 deletions src/checks/checkEnvVars.test.ts

This file was deleted.

186 changes: 0 additions & 186 deletions src/checks/checkEnvVars.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/checks/index.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/formatters/formatLatin.test.ts

This file was deleted.

4 changes: 4 additions & 0 deletions src/formatters/formatLatin.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
*
* @deprecated This is still WIP
*/
export const formatLatin = (text: string): string => {
let normalized = text.normalize("NFKD");
return normalized;
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./checks";
export * from "./dates";
export * from "./formatters";
export * from "./helpers";
Expand Down
4 changes: 2 additions & 2 deletions src/math/percentageChange.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ describe("percentageChange", () => {
expect(percentageChange(0.2, 0.1)).toBe(-0.5);
expect(percentageChange(0.1, 0.2)).toBe(1);
expect(percentageChange(0.3, 0.333)).toBe(0.11);
expect(percentageChange(0, 0.12)).toBe(0);
expect(percentageChange(0, 0.12)).toBe(1);
expect(percentageChange(0, 0)).toBe(0);
expect(percentageChange(0.99, 0)).toBe(0);
expect(percentageChange(0.99, 0)).toBe(-1);
});
});

0 comments on commit 04c4595

Please sign in to comment.