Skip to content

Commit

Permalink
move test file
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingjam committed Feb 14, 2025
1 parent a1bdaa1 commit 6d0ad72
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { render, screen, fireEvent } from '@testing-library/svelte';
import DisclaimerModal from './DisclaimerModal.svelte';
import { getDeploymentTransactionArgs } from './getDeploymentTransactionArgs';
import DisclaimerModal from '../lib/components/deployment/DisclaimerModal.svelte';
import { getDeploymentTransactionArgs } from '../lib/components/deployment/getDeploymentTransactionArgs';
import { writable } from 'svelte/store';

// Mock the getDeploymentTransactionArgs module
vi.mock('./getDeploymentTransactionArgs', () => ({
getDeploymentTransactionArgs: vi.fn()
}));
Expand Down Expand Up @@ -80,7 +79,6 @@ describe('DisclaimerModal', () => {
}
});

// Wait for the Deploy button to be enabled
const deployButton = await screen.findByText('Deploy');
await fireEvent.click(deployButton);

Expand Down

0 comments on commit 6d0ad72

Please sign in to comment.