mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Movd another PKPass.from message to messages
This commit is contained in:
@@ -960,12 +960,12 @@ describe("PKPass", () => {
|
||||
PKPass.from(),
|
||||
).toBeRejectedWithError(
|
||||
TypeError,
|
||||
"Cannot create PKPass from source: source is 'undefined'",
|
||||
Messages.FROM.MISSING_SOURCE.replace("%s", "undefined"),
|
||||
);
|
||||
|
||||
await expectAsync(PKPass.from(null)).toBeRejectedWithError(
|
||||
TypeError,
|
||||
"Cannot create PKPass from source: source is 'null'",
|
||||
Messages.FROM.MISSING_SOURCE.replace("%s", "null"),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user