Serve .flow files as text/plain

This commit is contained in:
MICHAEL JACKSON
2017-08-12 20:37:29 -07:00
parent e4f5bfe4c0
commit db53a296aa
2 changed files with 13 additions and 6 deletions

View File

@ -28,3 +28,7 @@ it('gets a content type of text/plain for .ts files', () => {
expect(getContentType('app.ts')).toBe('text/plain')
expect(getContentType('app.d.ts')).toBe('text/plain')
})
it('gets a content type of text/plain for .flow files', () => {
expect(getContentType('app.js.flow')).toBe('text/plain')
})