Skip to content

Commit

Permalink
Fix prettier to version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed May 27, 2020
1 parent 6606584 commit 8065fdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -20,6 +20,7 @@
"karma-safari-launcher": "^1.0.0",

This comment has been minimized.

Copy link
@iam1urnothing

iam1urnothing Jul 30, 2021

ye yi 67% jkxuw7w2uuedyzgd7273y3y3ueurjrndjduejeh

"karma-safaritechpreview-launcher": "0.0.6",
"mocha": "^4.0.1",
"prettier": "^1.19.1",
"promise-polyfill": "6.0.2",
"rollup": "^0.59.1",
"url-search-params": "0.6.1"
Expand Down
5 changes: 4 additions & 1 deletion test/test.js
Expand Up @@ -194,7 +194,10 @@ exercise.forEach(function(exerciseMode) {
assert.equal(headers.get('Content-type'), 'text/html')
})
test('constructor works with arrays', function() {
var array = [['Content-Type', 'text/xml'], ['Breaking-Bad', '<3']]
var array = [
['Content-Type', 'text/xml'],
['Breaking-Bad', '<3']
]
var headers = new Headers(array)

assert.equal(headers.get('Content-Type'), 'text/xml')
Expand Down

1 comment on commit 8065fdd

@Chris231-droid
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Please sign in to comment.