Skip to content

Commit

Permalink
Remove tests which expect the length of a function
Browse files Browse the repository at this point in the history
  • Loading branch information
magsallen authored and andygout committed Apr 16, 2020
1 parent 3ec1ed2 commit b00a575
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ describe('dotcom-middleware-app-context', () => {

it('returns a request handler function', () => {
expect(instance).toBeInstanceOf(Function)
expect(instance).toHaveLength(3)
})

describe('when handling a request', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ describe('dotcom-middleware-asset-loader', () => {

instanceWithStaticHost.forEach((item) => {
expect(item).toBeInstanceOf(Function)
expect(item).toHaveLength(3)
})
})

Expand Down

0 comments on commit b00a575

Please sign in to comment.