mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 15:03:26 +00:00
fix test
This commit is contained in:
@@ -531,10 +531,10 @@ describe("ViewV2Component", () => {
|
||||
expect(openSimpleDialog).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
it("navigates back", async () => {
|
||||
it("navigates to vault", async () => {
|
||||
await component.delete();
|
||||
|
||||
expect(back).toHaveBeenCalledTimes(1);
|
||||
expect(mockNavigate).toHaveBeenCalledWith(["/tabs/vault"]);
|
||||
});
|
||||
|
||||
it("stops scroll position service", async () => {
|
||||
|
||||
Reference in New Issue
Block a user