Skip to content

Commit 6292ee1

Browse files
committed
add travis
1 parent d4fee4b commit 6292ee1

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: node_js
2+
3+
node_js:
4+
- stable
5+
6+
install:
7+
- npm install
8+
9+
script:
10+
- npm test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# react-apollo-client-mocking-example
22

3-
[![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/)
3+
[![Build Status](https://travis-ci.org/the-road-to-graphql/react-apollo-client-mocking-example.svg?branch=master)](https://travis-ci.org/the-road-to-graphql/react-apollo-client-mocking-example) [![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/)
44

55
A minimal React application using Apollo Client with a **mocked** GitHub's GraphQL API by implementing an own GraphQL schema. [Read more about it here.](https://www.robinwieruch.de/graphql-server-mock-apollo-client/)
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"scripts": {
1919
"start": "react-scripts start",
2020
"build": "react-scripts build",
21-
"test": "react-scripts test --env=jsdom",
21+
"test": "react-scripts test --env=jsdom --passWithNoTests",
2222
"eject": "react-scripts eject"
2323
},
2424
"browserslist": [

0 commit comments

Comments
 (0)