mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 21:25:26 +00:00
FIxed Bundle test and changed bundle closed message
This commit is contained in:
@@ -83,7 +83,7 @@ describe("Bundle", () => {
|
||||
|
||||
expect(() =>
|
||||
bundle.addBuffer("icon.png", Buffer.alloc(0)),
|
||||
).toThrowError(Error, "Cannot add file. Bundle is closed.");
|
||||
).toThrowError(Error, Messages.BUNDLE.CLOSED);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ export const MODELS = {
|
||||
|
||||
export const BUNDLE = {
|
||||
MIME_TYPE_MISSING: "Cannot build Bundle. MimeType is missing",
|
||||
CLOSED: "Cannot add file. Bundle is closed.",
|
||||
CLOSED: "Cannot add file or set property. Bundle is closed.",
|
||||
} as const;
|
||||
|
||||
export const FROM = {
|
||||
|
||||
Reference in New Issue
Block a user