Skip to content

Commit 3d7e724

Browse files
committed
test: add boolean values
1 parent dc064fb commit 3d7e724

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,9 @@ test('correctly handles no string headers', (t) => {
14461446
string: 'string',
14471447
object: { foo: 'bar' },
14481448
array: [1, 'two', 3],
1449-
date
1449+
date,
1450+
true: true,
1451+
false: false
14501452
}
14511453

14521454
inject(dispatch, { method: 'GET', url: 'http://example.com:8080/hello', headers }, (err, res) => {
@@ -1459,6 +1461,8 @@ test('correctly handles no string headers', (t) => {
14591461
object: '[object Object]',
14601462
array: '1,two,3',
14611463
date: date.toString(),
1464+
true: 'true',
1465+
false: 'false',
14621466
host: 'example.com:8080',
14631467
'user-agent': 'lightMyRequest'
14641468
})

0 commit comments

Comments
 (0)