Skip to content

Commit f3edb78

Browse files
authored
Merge pull request #83 from hypothesis/fix-vitest-exporting
Remove re-exporting of vitest symbols from main entry point
2 parents 3fe33f0 + 8960861 commit f3edb78

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This library provides these options for convenience, so that you don't need to
9999
define them everywhere.
100100

101101
```js
102-
import { vitestCoverageOptions } from '@hypothesis/frontend-testing';
102+
import { vitestCoverageOptions } from '@hypothesis/frontend-testing/vitest';
103103
import { babel } from '@rollup/plugin-babel';
104104

105105
const babelRollupPlugin = babel({
@@ -132,7 +132,7 @@ still prints the real-time summary and details for any failed test.
132132

133133
```js
134134
// vitest.config.js
135-
import { SummaryReporter } from '@hypothesis/frontend-testing';
135+
import { SummaryReporter } from '@hypothesis/frontend-testing/vitest';
136136
import { defineConfig } from 'vitest/config';
137137

138138
export default defineConfig({

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ export { checkAccessibility } from './accessibility.js';
33
export { mockImportedComponents } from './mock-imported-components.js';
44
export { mount, unmountAll } from './mount.js';
55
export type { MountOptions } from './mount.js';
6-
export { SummaryReporter, vitestCoverageOptions } from './vitest.js';
76
export type { TestTimeout, TimeoutSpec } from './wait.js';
87
export { delay, waitFor, waitForElement } from './wait.js';

0 commit comments

Comments
 (0)