Commit dd9d4cc5 authored by Luc's avatar Luc Committed by Tim Neutkens

rename event-emitter.test.js -> mitt.test.js (#5992)

parent fc19b233
/* eslint-env jest */ /* eslint-env jest */
import mitt from 'next-server/dist/lib/mitt' import mitt from 'next-server/dist/lib/mitt'
describe('EventEmitter', () => { describe('mitt', () => {
describe('With listeners', () => { describe('With listeners', () => {
it('should listen to a event', (done) => { it('should listen to a event', (done) => {
const ev = mitt() const ev = mitt()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment