mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
rename event-emitter.test.js -> mitt.test.js (#5992)
This commit is contained in:
parent
fc19b233eb
commit
dd9d4cc5e7
|
@ -1,7 +1,7 @@
|
||||||
/* 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()
|
Loading…
Reference in a new issue