@@ -10,7 +10,7 @@ export class TestProject {
10
10
private readonly root : string ;
11
11
12
12
constructor ( root = 'e2e/project' ) {
13
- // We can't put each test's project inside e2e/project directly, otherwise the exvite .config.ts
13
+ // We can't put each test's project inside e2e/project directly, otherwise the wxt .config.ts
14
14
// file is cached and cannot be different between each test. Instead, we add a random ID to the
15
15
// end to make each test's path unique.
16
16
const id = Math . random ( ) . toString ( 32 ) . substring ( 3 ) ;
@@ -23,7 +23,7 @@ export class TestProject {
23
23
description : 'Example description' ,
24
24
version : '0.0.0-test' ,
25
25
dependencies : {
26
- exvite : '../../..' ,
26
+ wxt : '../../..' ,
27
27
} ,
28
28
} ,
29
29
null ,
@@ -33,13 +33,13 @@ export class TestProject {
33
33
}
34
34
35
35
/**
36
- * Add a `exvite .config.ts` to the project with specific contents.
36
+ * Add a `wxt .config.ts` to the project with specific contents.
37
37
*/
38
38
setConfigFileConfig ( config : UserConfig = { } ) {
39
39
this . config = config ;
40
40
this . files . push ( [
41
- 'exvite .config.ts' ,
42
- `import { defineConfig } from 'exvite '\n\nexport default defineConfig(${ JSON . stringify (
41
+ 'wxt .config.ts' ,
42
+ `import { defineConfig } from 'wxt '\n\nexport default defineConfig(${ JSON . stringify (
43
43
config ,
44
44
null ,
45
45
2 ,
@@ -86,12 +86,12 @@ export class TestProject {
86
86
}
87
87
88
88
/**
89
- * Read all the files from the test project's `.exvite ` directory and combine them into a string
89
+ * Read all the files from the test project's `.wxt ` directory and combine them into a string
90
90
* that can be used in a snapshot.
91
91
*/
92
- serializeExviteDir ( ) : Promise < string > {
92
+ serializeWxtDir ( ) : Promise < string > {
93
93
return this . serializeDir (
94
- resolve ( this . config ?. srcDir ?? this . root , '.exvite /types' ) ,
94
+ resolve ( this . config ?. srcDir ?? this . root , '.wxt /types' ) ,
95
95
) ;
96
96
}
97
97
0 commit comments