mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Tests: Remove unused notification spies from batch edit component tests
This commit is contained in:
parent
b91ac2e67e
commit
9d17de55e3
1 changed files with 0 additions and 5 deletions
|
|
@ -16,8 +16,6 @@ vi.mock("model/thumb");
|
|||
describe("component/photo/batch-edit", () => {
|
||||
let wrapper;
|
||||
let mockBatchInstance;
|
||||
let notifySuccessSpy;
|
||||
let notifyErrorSpy;
|
||||
|
||||
const mockSelection = ["uid1", "uid2", "uid3"];
|
||||
|
||||
|
|
@ -138,9 +136,6 @@ describe("component/photo/batch-edit", () => {
|
|||
// Mock the Batch constructor to return our mock instance
|
||||
vi.mocked(Batch).mockImplementation(() => mockBatchInstance);
|
||||
|
||||
notifySuccessSpy = vi.spyOn(VTUConfig.global.mocks.$notify, "success");
|
||||
notifyErrorSpy = vi.spyOn(VTUConfig.global.mocks.$notify, "error");
|
||||
|
||||
wrapper = shallowMount(PPhotoBatchEdit, {
|
||||
props: {
|
||||
visible: false, // Start with false to avoid initial rendering issues
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue