0
我已經測試通過包括這條線在我的測試文件的頂部,茉莉(庫測試)和笑話(快照測試)合格:打字稿用玩笑和茉莉(測試通過,tslint失敗)
/// <reference path="../../node_modules/@types/jasmine/index.d.ts" />
// -> in my jest test files
/// <reference path="../../node_modules/@types/jest/index.d.ts" />
然而,當我運行tslint
我得到重複的錯誤,如
ERROR in [at-loader] ./node_modules/@types/jest/index.d.ts:12:13
TS2300: Duplicate identifier 'fdescribe'.
問題是我不能真正排除d.ts
文件茉莉和玩笑,因爲我需要他們對我的測試,但我想從我的tslint
排除。 ..在那兒 一種配置這個的方法?我看到一些問題,但沒有發佈真正的解決方案。