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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/timo/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
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
stages: | |
- test | |
unit: | |
image: node:10.10 | |
stage: test | |
script: | |
- 'echo "Running test job"' |
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
typescript: | |
image: node:10.10 | |
stage: test | |
tags: | |
- docker | |
before_script: | |
- apt-get update -qq && apt-get install | |
- yarn config set cache-folder .yarn | |
- yarn install | |
script: |
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
unit: | |
image: node:10.10 | |
stage: test | |
tags: | |
- docker | |
before_script: | |
- apt-get update -qq && apt-get install | |
- yarn config set cache-folder .yarn | |
- yarn install | |
script: |
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
{ | |
"jest": { | |
"preset": "react-native", | |
"transform": { | |
"^.+\\.(jsx?|tsx?)$": "babel-jest" | |
}, | |
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", | |
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"], | |
"modulePaths": ["<rootDir>"] | |
} |
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
import React from "react"; | |
import { Text } from "react-native"; | |
import App from "./App"; | |
import renderer from "react-test-renderer"; | |
describe("<App />", () => { | |
it("renders correctly", () => { | |
const tree = renderer.create(<App />).toJSON(); | |
expect(tree).toMatchSnapshot(); |
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
Show hidden characters
{ | |
"extends": "./babel.config.js" | |
} |
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
"configurations": { | |
"ios.sim.debug": { | |
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/SoftwareManagementApp.app", | |
"build": "xcodebuild -project ios/SoftwareManagementApp.xcodeproj -UseModernBuildSystem=NO -scheme SoftwareManagementApp -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build", | |
"type": "ios.simulator", | |
"name": "iPhone X" | |
}, | |
"ios.sim.release": { | |
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/SoftwareManagementApp.app", | |
"build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild -project ios/SoftwareManagementApp.xcodeproj -UseModernBuildSystem=NO -scheme SoftwareManagementApp -configuration Release -sdk iphonesimulator -derivedDataPath ios/build", |
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
{ | |
"extends": "../tsconfig", | |
"compilerOptions": { | |
"jsx": "react", | |
"module": "commonjs", | |
"types": ["detox", "jest"] | |
}, | |
"include": ["e2e"], | |
"exclude": ["node_modules"] | |
} |
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
{ | |
"rootDir": "../", | |
"setupTestFrameworkScriptFile": "./e2e/init.js", | |
"testEnvironment": "node", | |
"transform": { | |
"^.+\\.(jsx?|tsx?)$": "babel-jest" | |
}, | |
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", | |
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"] | |
} |
OlderNewer