Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Testing tools and sample project included in builds (#240)
Browse files Browse the repository at this point in the history
* setup base CRA project, start work on test utils, add dependency testing

* change test running in children

* didn't know travis persisted cds

* rebased and added subscription mocked util

* fix syntax in travis file

* rebased and updated to new AC

* update tests to new AC

* switch to use internal testing utilties

* remove extra file

* turn off flow for now

* add a few sample projects and locally fix failing test env

* fix directory name

* revert back AC for type issue

* chore: version bump
  • Loading branch information
James Baxley authored Oct 31, 2016
1 parent 091d65e commit 87bcc44
Show file tree
Hide file tree
Showing 89 changed files with 10,027 additions and 645 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ before_install:

install:
- yarn
- cd examples/create-react-app && yarn && cd ../../

script:
- npm test
- coveralls < ./coverage/lcov.info || true # ignore coveralls error
- npm run compile
- cd examples/create-react-app && npm test && cd ../../
- npm run filesize
- python node_modules/travis-weigh-in/weigh_in.py ./dist/index.min.js || true # ignore size errors

Expand Down
9 changes: 9 additions & 0 deletions .vscode/launchReactNative.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// This file is automatically generated by [email protected]
// Please do not modify it manually. All changes will be lost.
try {
var path = require("path");
var Launcher = require("/Users/james.baxley/.vscode/extensions/vsmobile.vscode-react-native-0.2.0/out/debugger/launcher.js").Launcher;
new Launcher(path.resolve(__dirname, "..")).launch();
} catch (e) {
throw new Error("Unable to launch application. Try deleting .vscode/launchReactNative.js and restarting vscode.");
}
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Expect active development and potentially significant breaking changes in the `0

### vNext

### v0.5.15
- Feature: Added test utilities and examples to library.

### v0.5.14

- Bug: Fix issue with usage in TypeScript projects caused by 'compose' re-export. [PR #291](https://github.com/apollostack/react-apollo/pull/291)
Expand Down
5 changes: 5 additions & 0 deletions examples/create-react-app/.flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[ignore]
<PROJECT_ROOT>/node_modules/fbjs/.*

[options]
suppress_type=$FlowIssue
15 changes: 15 additions & 0 deletions examples/create-react-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
node_modules

# testing
coverage

# production
build

# misc
.DS_Store
.env
npm-debug.log
Loading

0 comments on commit 87bcc44

Please sign in to comment.