File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ $ npm install --save-dev vitest @vitest/browser
2626
2727## Configuration
2828
29- Add ` vitestWebcontainers ` plugin in your Vitest config and enable browser mode:
29+ Add ` vitestWebContainers ` plugin in your Vitest config and enable browser mode:
3030
3131``` ts
3232import { defineConfig } from " vitest/config" ;
33- import { vitestWebcontainers } from " @webcontainer/test/plugin" ;
33+ import { vitestWebContainers } from " @webcontainer/test/plugin" ;
3434
3535export default defineConfig ({
36- plugins: [vitestWebcontainers ()],
36+ plugins: [vitestWebContainers ()],
3737 test: {
3838 browser: {
3939 enabled: true ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const COOP = "Cross-Origin-Opener-Policy";
88 * Vitest [plugin](https://vitest.dev/advanced/api/plugin.html#plugin-api) for configuring
99 * WebContainer related options.
1010 */
11- export function vitestWebcontainers ( ) : Vite . Plugin {
11+ export function vitestWebContainers ( ) : Vite . Plugin {
1212 return {
1313 name : "vitest:webcontainers" ,
1414 config ( config , env ) {
Original file line number Diff line number Diff line change 11import { defineConfig } from "vitest/config" ;
2- import { vitestWebcontainers } from "./src/plugin" ;
2+ import { vitestWebContainers } from "./src/plugin" ;
33
44export default defineConfig ( {
5- plugins : [ vitestWebcontainers ( ) ] ,
5+ plugins : [ vitestWebContainers ( ) ] ,
66
77 test : {
88 reporters : "verbose" ,
You can’t perform that action at this time.
0 commit comments