Remove optional expo references #259
Annotations
7 errors and 1 warning
src/commands/__tests__/notifications.test.ts > install React Native Firebase and dependencies:
src/commands/__tests__/notifications.test.ts#L33
AssertionError: expected "addDependency" to be called with arguments: [ Array(1) ]
Received:
Number of calls: 0
❯ src/commands/__tests__/notifications.test.ts:33:25
|
src/commands/__tests__/typescript.test.ts > doesn't extend expo/tsconfig.base if not an Expo project:
src/commands/__tests__/typescript.test.ts#L73
AssertionError: expected '{\n "compilerOptions": {\n "targe…' not to match 'expo/tsconfig.base'
- Expected
+ Received
- expo/tsconfig.base
+ {
+ "compilerOptions": {
+ "target": "ESNext",
+ "lib": ["DOM", "ESNext"],
+ "allowJs": true,
+ "skipLibCheck": true,
+ "esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ "forceConsistentCasingInFileNames": true,
+ "module": "commonjs",
+ "moduleResolution": "node",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "baseUrl": ".",
+ "jsx": "react-native",
+ "noFallthroughCasesInSwitch": true,
+ "paths": {
+ "src/*": ["src/*"],
+ "assets/*": ["assets/*"]
+ }
+ },
+ "include": ["src/**/*", "*.js", ".*.js", "*.ts", "*.tsx", "__mocks__"],
+ "exclude": [
+ "node_modules",
+ "babel.config.js",
+ "metro.config.js",
+ "jest.config.js"
+ ],
+ "extends": "expo/tsconfig.base"
+ }
+
❯ src/commands/__tests__/typescript.test.ts:73:56
|
build (18.x)
Process completed with exit code 1.
|
build (20.x)
The job was canceled because "_18_x" failed.
|
src/commands/__tests__/notifications.test.ts > install React Native Firebase and dependencies:
src/commands/__tests__/notifications.test.ts#L33
AssertionError: expected "addDependency" to be called with arguments: [ Array(1) ]
Received:
Number of calls: 0
❯ src/commands/__tests__/notifications.test.ts:33:25
|
src/commands/__tests__/typescript.test.ts > doesn't extend expo/tsconfig.base if not an Expo project:
src/commands/__tests__/typescript.test.ts#L73
AssertionError: expected '{\n "compilerOptions": {\n "targe…' not to match 'expo/tsconfig.base'
- Expected
+ Received
- expo/tsconfig.base
+ {
+ "compilerOptions": {
+ "target": "ESNext",
+ "lib": ["DOM", "ESNext"],
+ "allowJs": true,
+ "skipLibCheck": true,
+ "esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ "forceConsistentCasingInFileNames": true,
+ "module": "commonjs",
+ "moduleResolution": "node",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "baseUrl": ".",
+ "jsx": "react-native",
+ "noFallthroughCasesInSwitch": true,
+ "paths": {
+ "src/*": ["src/*"],
+ "assets/*": ["assets/*"]
+ }
+ },
+ "include": ["src/**/*", "*.js", ".*.js", "*.ts", "*.tsx", "__mocks__"],
+ "exclude": [
+ "node_modules",
+ "babel.config.js",
+ "metro.config.js",
+ "jest.config.js"
+ ],
+ "extends": "expo/tsconfig.base"
+ }
+
❯ src/commands/__tests__/typescript.test.ts:73:56
|
build (20.x)
Process completed with exit code 1.
|
build (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|