mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-16 00:25:30 +00:00
Changed splitBufferBundle to use Object.entries and added tests for it
This commit is contained in:
@@ -113,10 +113,11 @@ describe("Passkit-generator", function () {
|
||||
});
|
||||
|
||||
describe("expiration()", () => {
|
||||
it("Won't apply changes withouta valid argument", () => {
|
||||
it("Won't apply changes without a valid argument", () => {
|
||||
// @ts-expect-error
|
||||
pass.expiration();
|
||||
expect(pass.props["expirationDate"]).toBe(undefined);
|
||||
|
||||
// @ts-expect-error
|
||||
pass.expiration(42);
|
||||
expect(pass.props["expirationDate"]).toBe(undefined);
|
||||
|
||||
Reference in New Issue
Block a user