You've already forked serverless-plugin-typescript
mirror of
https://github.com/encounter/serverless-plugin-typescript.git
synced 2026-03-30 11:37:55 -07:00
11 lines
367 B
TypeScript
11 lines
367 B
TypeScript
|
|
import {getTypescriptConfig, makeDefaultTypescriptConfig} from '../src/typescript'
|
||
|
|
|
||
|
|
describe('getTypescriptConfig', () => {
|
||
|
|
it(`returns default typescript configuration if the one provided doesn't exist`, () => {
|
||
|
|
expect(
|
||
|
|
getTypescriptConfig('/ciaone/my-folder'),
|
||
|
|
).toEqual(
|
||
|
|
makeDefaultTypescriptConfig()
|
||
|
|
)
|
||
|
|
})
|
||
|
|
})
|