Skip to content

Commit

Permalink
Re-export chai so that it doesn't lose its typing
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Mar 29, 2023
1 parent 077d07e commit 9e9d634
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/testing/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,5 @@ export { fixtureCleanup } from '@open-wc/testing-helpers';
export { elementUpdated } from '@open-wc/testing-helpers';
export { waitUntil } from '@open-wc/testing-helpers';

import Chai from 'chai';

export declare const chai: typeof Chai;
export declare const expect: typeof Chai.expect;
export declare const assert: typeof Chai.assert;
export declare const should: typeof Chai.should;
export * as chai from 'chai';
export { expect, assert, should } from 'chai';

0 comments on commit 9e9d634

Please sign in to comment.