oscard0m / rent-flat-scraper

Scraper with last published flats in idealista
MIT License
7 stars 2 forks source link

Installing Mocha + Chai + Sinon.js + necessary types #35

Closed nerder closed 6 years ago

nerder commented 6 years ago

Description

I install all the tools needed to test our code base plus the required types.

Fixes #23

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Checkout the branch and simply run npm test

oscard0m commented 6 years ago

tested and working:

> rent-flat-scraper@0.0.1 test /Users/XXXX/dev/personal-projects/rent-flat-scraper
> mocha -r ts-node/register test/**/*.ts

  Hello function
    ✓ should return hello world

  1 passing (44ms)