-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
2,262 additions
and
469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
/** | ||
* Sample React Native App | ||
* https://github.com/facebook/react-native | ||
*/ | ||
'use strict'; | ||
|
||
import native from './src/native'; | ||
import snowflake from './src/snowflake'; | ||
|
||
native('android'); | ||
snowflake('android'); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
/** | ||
* Sample React Native App | ||
* https://github.com/facebook/react-native | ||
*/ | ||
'use strict'; | ||
|
||
import native from './src/native'; | ||
|
||
native('ios'); | ||
|
||
import snowflake from './src/snowflake'; | ||
|
||
snowflake('ios'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "snowflake", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"private": true, | ||
"jest": { | ||
"scriptPreprocessor": "jestSupport/scriptProcessor.js", | ||
|
@@ -28,10 +28,11 @@ | |
"collectCoverage": true | ||
}, | ||
"scripts": { | ||
"test": "rm -rf ./node_module/jest-cli/.haste_cache && ./node_modules/.bin/jest ", | ||
"test": "rm -rf ./node_modules/jest-cli/.haste_cache && ./node_modules/.bin/jest ", | ||
"start": "react-native start", | ||
"test:watch": "npm run test -- --watch", | ||
"test-chrome": "node-debug --preload false --nodejs --harmony ./node_modules/.bin/jest --runInBand" | ||
"test-chrome": "node-debug --preload false --nodejs --harmony ./node_modules/.bin/jest --runInBand", | ||
"docs": "./node_modules/docker/docker -w -i src/ -o ../snowflake-pages " | ||
}, | ||
"dependencies": { | ||
"apsl-react-native-button": "[email protected]:bartonhammond/react-native-button.git", | ||
|
@@ -53,6 +54,7 @@ | |
}, | ||
"devDependencies": { | ||
"babel-core": "~5.8.34", | ||
"docker": "^0.2.14", | ||
"jest-cli": "^0.8.0", | ||
"react": "^0.14.3", | ||
"react-addons-test-utils": "^0.14.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
/** | ||
* # __mocks__/SimpleAlert.js | ||
* | ||
* A simple mock for a simple class | ||
* | ||
*/ | ||
'use strict'; | ||
|
||
var SimpleAlert = {}; | ||
// Override the default behavior of the `alert` mock | ||
SimpleAlert.alert = jest.genMockFunction(); | ||
|
||
/** | ||
* ## Override the default behavior of the `alert` mock | ||
*/ | ||
|
||
SimpleAlert.alert = jest.genMockFunction(); | ||
|
||
module.exports = SimpleAlert; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.