Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Aug 15, 2023
1 parent a2bc86e commit 188142d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validation/CreativeSchema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { produce } from "immer";
const validPushCreative = {
name: "some creative",
type: { code: "notification_all_v1", name: "" },
state: "active",
state: "under_review",
payloadNotification: {
body: "abc",
title: "xyz",
Expand Down Expand Up @@ -35,7 +35,7 @@ it.each(["notAUrl", "gopher://blah.com", "httpx://balh.com"])(
draft.payloadNotification.targetUrl = value;
});
expect(() => CreativeSchema.validateSync(c)).toThrowError(
"URL must start with https:// or be an approved brave:// url",
"URL must start with https://",
);
},
);
Expand Down

0 comments on commit 188142d

Please sign in to comment.