fix: some types #858
Annotations
2 errors
error: expect(received).toMatchSnapshot(expected):
cli/__tests__/cli-integration.test.ts#L130
Expected:
{
"dependencies": {
"@expo/vector-icons": "",
"@react-navigation/native": "",
"expo": "",
"expo-constants": "",
"expo-linking": "",
"expo-router": "",
"expo-status-bar": "",
"expo-system-ui": "",
"expo-web-browser": "",
"nativewind": "",
"react": "",
"react-dom": "",
"react-native": "",
"react-native-gesture-handler": "",
"react-native-reanimated": "",
"react-native-safe-area-context": "",
"react-native-screens": "",
"react-native-web": "",
},
"devDependencies": {
"@babel/core": "",
"@types/react": "",
"@typescript-eslint/eslint-plugin": "",
"@typescript-eslint/parser": "",
"ajv": "",
"eslint": "",
"eslint-config-universe": "",
"prettier": "",
"prettier-plugin-tailwindcss": "",
"tailwindcss": "",
"typescript": "",
},
"eslintConfig": {
"extends": "universe/native",
"root": true,
},
"expo": {
"install": {
"exclude": [
"react-native-safe-area-context",
],
},
},
"main": "expo-router/entry",
"name": "myTestProject",
"private": true,
"scripts": {
"android": "expo start --android",
"format": "eslint "**/*.{js,jsx,ts,tsx}" --fix && prettier "**/*.{js,jsx,ts,tsx,json}" --write",
"ios": "expo start --ios",
"lint": "eslint "**/*.{js,jsx,ts,tsx}" && prettier -c "**/*.{js,jsx,ts,tsx,json}"",
"prebuild": "expo prebuild",
"start": "expo start",
"web": "expo start --web",
},
"version": "1.0.0",
}
Received:
{
"dependencies": {
"@expo/vector-icons": "",
"@react-navigation/native": "",
"expo": "",
"expo-constants": "",
"expo-linking": "",
"expo-router": "",
"expo-status-bar": "",
"expo-system-ui": "",
"expo-web-browser": "",
"nativewind": "",
"react": "",
"react-dom": "",
"react-native": "",
"react-native-gesture-handler": "",
"react-native-reanimated": "",
"react-native-safe-area-context": "",
"react-native-screens": "",
"react-native-web": "",
},
"devDependencies": {
"@babel/core": "",
"@types/react": "",
"@typescript-eslint/eslint-plugin": "",
"@typescript-eslint/parser": "",
"ajv": "",
"eslint": "",
"eslint-config-universe": "",
"prettier": "",
"prettier-plugin-tailwindcss": "",
"tailwindcss": "",
"typescript": "",
},
"eslintConfig": {
"extends": "universe/native",
"root": true,
},
"main": "expo-router/entry",
"name": "myTestProject",
"private": true,
"scripts": {
"android": "expo start --android",
"format": "eslint "**/*.{js,jsx,ts,tsx}" --fix && prettier "**/*.{js,jsx,ts,tsx,json}" --write",
"ios": "expo start --ios",
"lint": "eslint "**/*.{js,jsx,ts,tsx}" && prettier -c "**/*.{js,jsx,ts,tsx,json}"",
"prebuild": "expo prebuild",
"start": "expo start",
"web": "expo start --web",
},
"version": "1.0.0",
}
at /home/runner/work/create-expo-stack/create-expo-stack/cli/__tests__/cli-integration.test.ts:130:38
|
build-and-test
Process completed with exit code 1.
|