diff --git a/spec/javascripts/components/story/story_copy_id_clipboard_spec.jsx b/spec/javascripts/components/story/story_copy_id_clipboard_spec.jsx
index 927777360..3e1430548 100644
--- a/spec/javascripts/components/story/story_copy_id_clipboard_spec.jsx
+++ b/spec/javascripts/components/story/story_copy_id_clipboard_spec.jsx
@@ -7,16 +7,6 @@ vi.mock('react-clipboard.js', () => ({
}));
describe('', function () {
- let fn;
-
- beforeEach(function () {
- fn = vi.spyOn(I18n, 't');
- });
-
- afterEach(function () {
- fn.mockRestore();
- });
-
it('should render story id text', function () {
const component = render();
expect(component.getByText('#70')).toBeInTheDocument();