Skip to content

Commit

Permalink
Merge pull request #1888 from qqqzhch/fix/allowance-unitest
Browse files Browse the repository at this point in the history
fix: allowances enable unit test fixture data
  • Loading branch information
escapedcat authored Dec 21, 2022
2 parents 1bab35f + 8945f03 commit 32cf16d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ utils.openPrompt = jest
.fn()
.mockReturnValue({ data: { enabled: true, remember: true } });

const mockAllowances: DbAllowance[] = allowanceFixture;
const mockAllowances: DbAllowance[] = [{ ...allowanceFixture[0] }];

describe("enable allowance", () => {
afterEach(() => {
Expand Down

0 comments on commit 32cf16d

Please sign in to comment.