mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
fix(testing): export types from chai
This commit is contained in:
committed by
Lars den Bakker
parent
ee44812f89
commit
ce4b91a9a2
12
packages/testing/index.d.ts
vendored
12
packages/testing/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user