Skip to content

Commit

Permalink
Use Jest for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
paldepind committed Jul 28, 2019
1 parent b8485fa commit fdea505
Show file tree
Hide file tree
Showing 12 changed files with 2,830 additions and 3,312 deletions.
9 changes: 0 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
language: node_js
node_js:
- node
install:
- npm install
script:
- ./node_modules/.bin/karma start karma-ci.conf.js
after_success:
- npm run codecov
addons:
sauce_connect:
username: funnel
jwt:
secure: "M0WrdxkxO4I31L9+aR+48rQ+KTMofAtyQTd8fOYmej1WiD6pG8iAsZCqUXywm6JW6TvMG6Q+GAJtqWEyykgv+GuijcrFlU/OZeScvonpAwNNRbfpKWuFrde/psTJnIsUw9KJYZYab7N/oRMZdRqzRb5NB/rRvqm7POJweDWPw6AuVjMGUWLeKXKjdZ53G1O1WDGO041l2eL/IKWz6MAdk8JHWpnYMyDIoAC9853wDSj5RtwIdX7HGr5OrTCI8J3pDJv0N+1z8cXmqeGBnLZ3G/zztChojLxfCPSff7Yj5/TNfSpvLH5tdp+sO4kRQNkXSPQIP/zAWa5AjywX9TN9vo9NVooM0M1ldby3VrvSXt6Lo1SIlMU5vzf55GTsVUMniPjSawub4ggCUNVw33N/omAkvOHfTtZudS3WzmSS2R9JUxR5/CHnuodLbSVmh6YDexEP2XYq1dtQdWArpkdBvDYW/u/8aoKFDTtfQFh9W+vekZcqERc4ApNzZckpRBSZszurotHlWBDg5o1WvqqW+fdGM/dmJxjHR/Rg3Wofxv1M1pbTkMSixUN3nMjijuUiDENjosUlAeXJZr/4C8qZ9+2mPRVbAYyzK9PBpol/KHZW/uZu8YUmFHZ6P6Bs3mrk1C8O4S2NtgG39e5OCGVoyStCI+8GK2987QsV8pMXxvg="
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ programming. Experimental.
[![Gitter](https://img.shields.io/gitter/room/funkia/General.svg)](https://gitter.im/funkia/General)
[![Build Status](https://travis-ci.org/funkia/turbine.svg?branch=master)](https://travis-ci.org/funkia/turbine)
[![codecov](https://codecov.io/gh/funkia/turbine/branch/master/graph/badge.svg)](https://codecov.io/gh/funkia/turbine)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/funnel.svg)](https://saucelabs.com/u/funnel)

# Table of contents

Expand Down
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
testMatch: [ "**/test/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)" ],
testPathIgnorePatterns: [ "/node_modules/", "/test/helpers.ts" ],
coveragePathIgnorePatterns: [ "/node_modules/", "/test/helpers.ts" ]
};
69 changes: 0 additions & 69 deletions karma-ci.conf.js

This file was deleted.

23 changes: 0 additions & 23 deletions karma.conf.js

This file was deleted.

Loading

0 comments on commit fdea505

Please sign in to comment.