Commit 22a57e49 authored by Connor Davis's avatar Connor Davis Committed by Tim Neutkens

Add Unit Tests for Phase Constants (#6139)

parent e46fdd65
/* eslint-env jest */
import {PHASE_EXPORT, PHASE_PRODUCTION_BUILD, PHASE_PRODUCTION_SERVER, PHASE_DEVELOPMENT_SERVER} from 'next/constants'
describe('phaseConstants', () => {
it('should set phases correctly', () => {
expect(PHASE_EXPORT).toBe('phase-export')
expect(PHASE_PRODUCTION_BUILD).toBe('phase-production-build')
expect(PHASE_PRODUCTION_SERVER).toBe('phase-production-server')
expect(PHASE_DEVELOPMENT_SERVER).toBe('phase-development-server')
})
})
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