Skip to content

Commit bf3fe39

Browse files
committed
Fixed tests
1 parent 0cdd069 commit bf3fe39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/admin-api/test/utils/ghost-server-mock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const getInstance = (config, cb) => {
7171
};
7272
}
7373

74-
if (req.headers['content-type'].match(/multipart/)) {
74+
if (req.headers['content-type']?.match(/multipart/)) {
7575
data = {
7676
images: [{
7777
url: `${config.url}/image/url`,

0 commit comments

Comments
 (0)