Skip to content

Commit 5327e28

Browse files
jescaladakriswest
andauthored
Update test/generated-config.test.ts
Co-authored-by: Kris West <[email protected]> Signed-off-by: Juan Escalada <[email protected]>
1 parent a8aa410 commit 5327e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/generated-config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe('Generated Config (QuickType)', () => {
120120
expect(result).toBeTypeOf('object');
121121
expect(Array.isArray(result.authentication)).toBe(true);
122122
expect(Array.isArray(result.authorisedList)).toBe(true);
123-
expect(result.contactEmail).toBeTypeOf('string');
123+
assert.isString(result.contactEmail);
124124
expect(result.cookieSecret).toBeTypeOf('string');
125125
expect(result.csrfProtection).toBeTypeOf('boolean');
126126
expect(Array.isArray(result.plugins)).toBe(true);

0 commit comments

Comments
 (0)