mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-08-10 22:34:10 +08:00
fix(account): polish sidebar favorites and sync feedback
This commit is contained in:
@@ -4,6 +4,14 @@ import { describe, expect, it } from "vitest";
|
||||
import LoginModal from "@/components/LoginModal.vue";
|
||||
|
||||
describe("LoginModal", () => {
|
||||
it("does not show the old password forwarding note", () => {
|
||||
render(LoginModal, {
|
||||
props: { show: true, loading: false, error: "" },
|
||||
});
|
||||
|
||||
expect(screen.queryByText(/密码仅直接/)).toBeNull();
|
||||
});
|
||||
|
||||
it("emits login credentials and register request", async () => {
|
||||
const rendered = render(LoginModal, {
|
||||
props: { show: true, loading: false, error: "" },
|
||||
|
||||
Reference in New Issue
Block a user