Skip to content

Commit

Permalink
Merge branch 'PSG-5513-config' into PSG-5344-integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycpadilla committed Dec 11, 2024
2 parents 221d4a3 + 7337054 commit e4bfd77
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions example/e2e/app.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/app.test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { dismissAlert, showTestView, executeTest } from './helpers';
import { AppTest, ViewName } from '../constants';

Expand Down
2 changes: 2 additions & 0 deletions example/e2e/currentUser.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/currentUser.test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { dismissAlert, showTestView, executeTest } from './helpers';
import { CurrentUserTest, ViewName } from '../constants';

Expand Down
2 changes: 2 additions & 0 deletions example/e2e/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/helpers.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { CLOSE, SUCCESS, TEST_RESULT } from '../constants';

export const showTestView = async(viewName: string) => {
Expand Down
2 changes: 2 additions & 0 deletions example/e2e/hosted.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/hosted.test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { element } from 'detox';

import { HostedTest, ViewName } from '../constants';
Expand Down
2 changes: 2 additions & 0 deletions example/e2e/magicLink.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/magicLink.test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { dismissAlert, showTestView, executeTest } from './helpers';
import { MagicLinkTest, ViewName } from '../constants';

Expand Down
2 changes: 2 additions & 0 deletions example/e2e/otp.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/otp.test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { dismissAlert, showTestView, executeTest } from './helpers';
import { OTPTest, ViewName } from '../constants';

Expand Down
2 changes: 2 additions & 0 deletions example/e2e/social.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/social.test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { element } from 'detox';

import { SocialTest, ViewName } from '../constants';
Expand Down
2 changes: 2 additions & 0 deletions example/e2e/tokenStore.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

Check warning on line 1 in example/e2e/tokenStore.test.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable

import { dismissAlert, showTestView, executeTest } from './helpers';
import { TokenStoreTest, ViewName } from '../constants';

Expand Down
8 changes: 8 additions & 0 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,13 @@ target 'PassageReactNativeExample' do
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
# Ensure all pods use at least iOS 16.0
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 16.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
end
end
end
end
end
4 changes: 2 additions & 2 deletions example/src/testViews/AppView.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { View, Text } from 'react-native';
import { Passage } from '@passageidentity/passage-react-native';
import { failTest, passTest, testAlert } from '../testUtils/helpers';
import { failTest, passTest } from '../testUtils/helpers';
import {
EXISTING_USER_EMAIL,
PASSAGE_TEST_APP_ID,
Expand Down Expand Up @@ -70,7 +70,7 @@ export const AppView = () => {

const createUserExists = async () => {
try {
const newUser = await passage.app.createUser(EXISTING_USER_EMAIL);
await passage.app.createUser(EXISTING_USER_EMAIL);
failTest();
} catch {
passTest();
Expand Down

0 comments on commit e4bfd77

Please sign in to comment.