Skip to content

alygee/react-appointment-tdd

Repository files navigation

This is the example application for the book Mastering Test-Driven Development

Prerequisities

You'll need to have Node, including NPM, installed on your machine.

Important: Run npm install before attempting any of the instructions below.

You may also wish to run npm upgrade to ensure your Node installation is up-to-date.

Use the following command to run all tests.

npm test

Here's an example of running tests in a single file:

npm test test/AppointmentsDayView.test.js

Once you've done that you can start the server with the following command.

PORT=8000 npm run serve

Providing PORT is optional. The default port is 3000, although you should feel free to change this if it's easier for you--it's listed in src/server.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published