This commit is contained in:
Sindre Sorhus 2017-11-06 22:36:51 +07:00
parent 8d8fd2b7e0
commit 9770f66899
4 changed files with 90 additions and 79 deletions

View file

@ -5,7 +5,9 @@ import m from '..';
const isNode8orHigher = Number(process.versions.node.split('.')[0]) >= 8;
// Currently out of order, see https://github.com/Microsoft/TypeScript/issues/15202 class PromiseSubclassFixture<T> extends Promise<T> {}
// Currently not working. See https://github.com/Microsoft/TypeScript/issues/15202
// `class PromiseSubclassFixture<T> extends Promise<T> {}`
class ErrorSubclassFixture extends Error {}
const document = jsdom();