Skip to content

Commit

Permalink
refactor: remove unused mock config
Browse files Browse the repository at this point in the history
  • Loading branch information
wrspada02 committed Oct 8, 2024
1 parent b368297 commit 4124fea
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions spec/javascripts/components/story/story_copy_id_clipboard_spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ vi.mock('react-clipboard.js', () => ({
}));

describe('<StoryCopyIdClipboard />', function () {
let fn;

beforeEach(function () {
fn = vi.spyOn(I18n, 't');
});

afterEach(function () {
fn.mockRestore();
});

it('should render story id text', function () {
const component = render(<StoryCopyIdClipboard id={70} />);
expect(component.getByText('#70')).toBeInTheDocument();
Expand Down

0 comments on commit 4124fea

Please sign in to comment.