Skip to content

Commit

Permalink
revert additional changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkfman committed Dec 4, 2024
1 parent 3e52404 commit 66ce567
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions app/util/identity/hooks/useCreateSession.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import * as Selectors from '../../../selectors/identity';
import * as Actions from '../../../actions/identity';
import useCreateSession from './useCreateSession';

jest.mock('../constants', () => ({
...jest.requireActual('../constants'),
isNotificationsFeatureEnabled: () => true,
}));

function arrangeStore() {
const store = createMockStore()(initialRootState);

Expand Down
4 changes: 0 additions & 4 deletions app/util/identity/hooks/useCreateSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ function useCreateSession() {
const [error, setError] = useState<string | undefined>(undefined);

const createSession = useCallback(async () => {
if (!isNotificationsFeatureEnabled()) {
return;
}

// If the user is already signed in, no need to create a new session
if (isSignedIn) {
return;
Expand Down
1 change: 0 additions & 1 deletion e2e/specs/assets/import-tokens.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ describe(SmokeAssets('Import Tokens'), () => {

it('should add a token via token footer link', async () => {
await TestHelpers.delay(2000); // Wait for the footer link to be visible

await WalletView.tapImportTokensFooterLink();
await ImportTokensView.searchToken('SNX');
await ImportTokensView.tapOnToken(); // taps the first token in the returned list
Expand Down

0 comments on commit 66ce567

Please sign in to comment.