Skip to content

Commit a2dbc17

Browse files
committed
test for removal of app.js
1 parent aa49e99 commit a2dbc17

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/mix/tasks/phx_sync.tanstack_db_test.exs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,12 @@ defmodule Mix.Tasks.PhxSync.TanstackDbTest do
108108
+ | ]
109109
""")
110110
end
111+
112+
test "removes app.js" do
113+
igniter =
114+
phx_test_project()
115+
|> Igniter.compose_task("phx_sync.tanstack_db", ["--sync-pnpm"])
116+
117+
assert_rms(igniter, ["assets/js/app.js"])
118+
end
111119
end

0 commit comments

Comments
 (0)