build: pm2 ecosystem config.
This commit is contained in:
		
							
								
								
									
										14
									
								
								ecosystem.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								ecosystem.config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| module.exports = { | ||||
|   apps: [ | ||||
|     { | ||||
|       name: "blog-bs", | ||||
|       script: "serve", | ||||
|       args: "-s build", | ||||
|       watch: false, | ||||
|       ignore_watch: ["node_modules"], | ||||
|       log_date_format: "MM-DD HH:mm:ss.SSS Z", | ||||
|       env: {}, | ||||
|       max_restarts: 5, | ||||
|     }, | ||||
|   ], | ||||
| }; | ||||
| @@ -1,9 +0,0 @@ | ||||
| import React from 'react'; | ||||
| import { render, screen } from '@testing-library/react'; | ||||
| import App from './App'; | ||||
|  | ||||
| test('renders learn react link', () => { | ||||
|   render(<App />); | ||||
|   const linkElement = screen.getByText(/learn react/i); | ||||
|   expect(linkElement).toBeInTheDocument(); | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user