Fakultas Ilmu Komputer UI

Commit ed710f00 authored by Shella Gabriella's avatar Shella Gabriella
Browse files

[RED] memperbaiki test

parent 9bd7b30c
Pipeline #82023 passed with stages
in 2 minutes and 54 seconds
......@@ -39,4 +39,8 @@ test("Test detail loaded donasi", async () => {
await waitFor(() => getByTestId("page-detail-donasi"));
const data = getByTestId("page-detail-donasi");
expect(data.textContent).toContain("DETAIL DONASI");
expect(data.textContent).toContain("DONASI BARANG");
expect(data.textContent).toContain("7NGVBN");
expect(data.textContent).toContain("dummy 2");
expect(data.textContent).toContain("Donasi Diterima");
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment