File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ public function it_installs_tailwindcss_command(): void
17
17
}
18
18
}
19
19
20
- $ packageJsonPath = base_path ( ' vendor/orchestra/testbench-core/laravel/ package.json ') ;
21
- if (File::exists ($ packageJsonPath )) {
22
- File::put ($ packageJsonPath , '
20
+ $ packageJsonPath = ' package.json ' ;
21
+ if (File::exists (base_path ( $ packageJsonPath) )) {
22
+ File::put (base_path ( $ packageJsonPath) , '
23
23
{
24
24
"devDependencies": {}
25
25
} ' );
@@ -35,9 +35,9 @@ public function it_installs_tailwindcss_command(): void
35
35
/** @test */
36
36
public function it_asks_to_overwrite_tailwindcss_command (): void
37
37
{
38
- $ packageJsonPath = base_path ( ' vendor/orchestra/testbench-core/laravel/ package.json ') ;
39
- if (File::exists ($ packageJsonPath )) {
40
- File::put ($ packageJsonPath , '
38
+ $ packageJsonPath = ' package.json ' ;
39
+ if (File::exists (base_path ( $ packageJsonPath) )) {
40
+ File::put (base_path ( $ packageJsonPath) , '
41
41
{
42
42
"devDependencies": {
43
43
"@tailwindcss/forms": "^0.5.7",
You can’t perform that action at this time.
0 commit comments