An open API service indexing awesome lists of open source software.

https://github.com/librity/ignite_tests

Rocket Seat - Ignite - NodeJS - Challenge 7 and 8 - A fully-tested backend made with Node, Jest and Typescript.
https://github.com/librity/ignite_tests

bank-account challenge jest nodejs rocketseat-ignite typescript

Last synced: 8 months ago
JSON representation

Rocket Seat - Ignite - NodeJS - Challenge 7 and 8 - A fully-tested backend made with Node, Jest and Typescript.

Awesome Lists containing this project

README

          

# Rocket Seat Ignite - Tests with Jest

## Table of Contents

- [About](#about)
- [Getting Started](#getting_started)
- [Resources](#resources)

## About

A fully-tested backend made with Node, Jest and Typescript.

## Getting Started

### Prerequisites

- `node >= 12.0.0`
- `yarn >= 1.22.0`

### Installing

1. Clone this repo locally and install the required packages:

```bash
$ git clone https://github.com/librity/ignite_tests.git
$ cd ignite_tests
$ yarn install
```

2. Create database and run migrate:

```bash
$ yarn typeorm schema:sync
$ yarn typeorm migration:run
```

### Testing

Run tests with jest:

```bash
$ yarn test
```

## Resources

- https://jestjs.io/docs/getting-started