Manually set mime type for TypeScript files
This commit is contained in:
committed by
MICHAEL JACKSON
parent
c68dac5f33
commit
f91bf5abd7
@ -22,4 +22,9 @@ it('gets a contextType of text/plain for .git* files', () => {
|
||||
it('gets a contextType of text/plain for .*ignore files', () => {
|
||||
expect(getContentType('.eslintignore')).toBe('text/plain');
|
||||
expect(getContentType('.anythingignore')).toBe('text/plain');
|
||||
});
|
||||
|
||||
it('gets a contextType of text/plain for .ts files', () => {
|
||||
expect(getContentType('app.ts')).toBe('text/plain');
|
||||
expect(getContentType('app.d.ts')).toBe('text/plain');
|
||||
});
|
Reference in New Issue
Block a user