mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Fixed wrong test for transitType change
This commit is contained in:
@@ -412,7 +412,8 @@ describe("PKPass", () => {
|
||||
Messages.TRANSIT_TYPE.UNEXPECTED_PASS_TYPE,
|
||||
);
|
||||
|
||||
expect(passCP.transitType).toBeUndefined();
|
||||
/** boardingPass property doesn't exists, so it throws */
|
||||
expect(() => passCP.transitType).toThrow();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user