diff --git a/ghost/sodo-search/src/App.test.js b/ghost/sodo-search/src/App.test.js index 1f03afeece..9612056162 100644 --- a/ghost/sodo-search/src/App.test.js +++ b/ghost/sodo-search/src/App.test.js @@ -1,8 +1,9 @@ import { render, screen } from '@testing-library/react'; import App from './App'; +import React from 'react'; test('renders learn react link', () => { render(); - const linkElement = screen.getByText(/learn react/i); + const linkElement = screen.getByText(/Sodo Search/i); expect(linkElement).toBeInTheDocument(); });