Skip to content

Commit

Permalink
Fix broken release
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminVanRyseghem committed Aug 9, 2021
1 parent 68d69c3 commit 5b6072f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/formatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ function formatCurrency(instance, providedFormat, state) {

let output = formatNumber({
instance,
clonedFormat,
providedFormat: clonedFormat,
state,
decimalSeparator
});
Expand Down
4 changes: 2 additions & 2 deletions tests/src/formatting-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ describe("formatting", () => {

expect(formatNumber).toHaveBeenCalledWith({
instance: jasmine.anything(),
providedFormat,
providedFormat: jasmine.objectContaining(Object.assign({}, providedFormat)),
state,
decimalSeparator: "foo"
});
Expand All @@ -983,7 +983,7 @@ describe("formatting", () => {

expect(formatNumber).toHaveBeenCalledWith({
instance: jasmine.anything(),
providedFormat,
providedFormat: jasmine.objectContaining(Object.assign({}, providedFormat)),
state,
decimalSeparator: " foo "
});
Expand Down

0 comments on commit 5b6072f

Please sign in to comment.