Skip to content

Commit

Permalink
fix(create-bounty): confirm Button Should Disable
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadUmer44 committed Sep 24, 2024
1 parent e0be679 commit 1d6bea9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/AddContentModal/__tests__/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* eslint-disable padding-line-between-statements */
import '@testing-library/jest-dom'
import { render, waitFor, fireEvent } from '@testing-library/react'
import { fireEvent, render, waitFor } from '@testing-library/react'
import React from 'react'
import { FormProvider, useForm } from 'react-hook-form'
import * as sphinx from 'sphinx-bridge'
import { api } from '~/network/api'
import { getLSat } from '~/utils'
import { sphinxBridge } from '~/testSphinxBridge'
import * as sphinx from 'sphinx-bridge'
import { getLSat } from '~/utils'
import { AddContentModal } from '../index'
import { FormProvider, useForm } from 'react-hook-form'
import React from 'react'

jest.mock('~/network/api')
jest.mock('~/utils')
Expand All @@ -31,7 +31,7 @@ const TestComponent = () => {
}

describe('AddContentModal', () => {
it('should send the correct tweet_id when sourceType is x.com', () => {
it('should send the corrects tweet_id when sourceType is x.com', () => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
;(sphinx.enable as jest.Mock).mockResolvedValue({ pubkey: 'test_pubkey' })
Expand Down

0 comments on commit 1d6bea9

Please sign in to comment.