Fixing jest build
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 27s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 32s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 35s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 44s
Anatid Blog CI Workflow / deploy (push) Successful in 3s
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 27s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 32s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 35s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 44s
Anatid Blog CI Workflow / deploy (push) Successful in 3s
This commit is contained in:
parent
72d61a1033
commit
12761802cf
@ -47,5 +47,5 @@
|
||||
"moduleNameMapper": {
|
||||
"^axios$": "axios/dist/node/axios.cjs"
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,6 @@ import App from './App';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
render(<App />);
|
||||
const linkElement = screen.getByText(/learn react/i);
|
||||
const linkElement = screen.getByText(/React is working/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
||||
|
@ -20,6 +20,7 @@ function App() {
|
||||
<div className="App">
|
||||
<header className="App-header">
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<h2>React is working</h2>
|
||||
<p>{message}</p>
|
||||
</header>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user