fix(testing): export types from chai

This commit is contained in:
Benny Powers
2020-04-21 19:22:56 +03:00
committed by Lars den Bakker
parent ee44812f89
commit ce4b91a9a2

View File

@@ -19,12 +19,6 @@ export { waitUntil } from '@open-wc/testing-helpers/index.js';
import chai from 'chai';
type expect = typeof chai.expect;
type assert = typeof chai.assert;
type should = typeof chai.should;
declare function expect(...args: Parameters<expect>): ReturnType<expect>;
declare const assert: assert;
declare function should(...args: Parameters<should>): ReturnType<should>;
export { expect, assert, should };
export declare const expect: typeof chai.expect;
export declare const assert: typeof chai.assert;
export declare const should: typeof chai.should;