mirror of
https://github.com/zhigang1992/redux.git
synced 2026-04-28 12:25:32 +08:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
import * as tt from 'typescript-definition-tester'
|
|
|
|
|
|
describe('TypeScript definitions', function () {
|
|
this.timeout(0)
|
|
|
|
it('should compile against index.d.ts', (done) => {
|
|
tt.compileDirectory(
|
|
__dirname + '/typescript',
|
|
fileName => fileName.match(/\.ts$/),
|
|
() => done()
|
|
)
|
|
})
|
|
})
|