Skip to content

Commit

Permalink
Removed unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Sep 20, 2020
1 parent 1f362c6 commit 1c49b4b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/integration/typescript/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
killApp,
File,
} from 'next-test-utils'
import mitt from 'next/dist/next-server/lib/mitt'

jest.setTimeout(1000 * 60 * 2)

Expand Down Expand Up @@ -90,14 +89,6 @@ export default function EvilPage(): JSX.Element {
})
})

it('event emitter should listen to a event', () => {
return new Promise((resolve) => {
const ev = mitt()
ev.on('sample', resolve)
ev.emit('sample')
})
})

it('should build the app', async () => {
const output = await nextBuild(appDir, [], { stdout: true })
expect(output.stdout).toMatch(/Compiled successfully/)
Expand Down

0 comments on commit 1c49b4b

Please sign in to comment.