https://github.com/trantuvan/odin-battle-ship
project to practice TDD with jest
https://github.com/trantuvan/odin-battle-ship
jest tdd webpack
Last synced: 3 months ago
JSON representation
project to practice TDD with jest
- Host: GitHub
- URL: https://github.com/trantuvan/odin-battle-ship
- Owner: Trantuvan
- Created: 2022-11-11T13:13:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T08:01:51.000Z (about 3 years ago)
- Last Synced: 2025-02-28T20:58:23.791Z (over 1 year ago)
- Topics: jest, tdd, webpack
- Language: JavaScript
- Homepage: https://trantuvan.github.io/odin-battle-ship/
- Size: 724 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# odin-battle-ship
## What is this about?
This toy project follows TDD design.The design of the project is to showcase the understanding of concepts below:
- Webback buildtool (prettier/eslint-airbnb/babel)
- Jest unit tests
The aim of this app is to build your simple and minimalist battleship game.
# Getting Started with Webback
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm run build`
Builds the app for production to the `dist` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
### `npm run test`
Start local unit testing with jest suite.