feat: add playwright and a11y audit and example test

This commit is contained in:
carla 2025-09-04 13:54:57 +02:00
parent 96085ea420
commit c6be9b5104
19 changed files with 133 additions and 2 deletions

View file

@ -0,0 +1,12 @@
defmodule MvWeb.ErrorJSONTest do
use MvWeb.ConnCase, async: true
test "renders 404" do
assert MvWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}}
end
test "renders 500" do
assert MvWeb.ErrorJSON.render("500.json", %{}) ==
%{errors: %{detail: "Internal Server Error"}}
end
end