mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
test fixes
This commit is contained in:
parent
e3be76fb95
commit
8b31257837
@ -67,7 +67,7 @@ describe('Files', () => {
|
||||
})
|
||||
|
||||
it('new IPFS file form can be opened and closed', async () => {
|
||||
const { container, getByText, findByText } = renderComponent()
|
||||
const { container, getByText } = renderComponent()
|
||||
|
||||
// open
|
||||
fireEvent.click(getByText('+ Add to IPFS'))
|
||||
|
@ -25,7 +25,8 @@ describe('POST /api/v1/urlcheck', () => {
|
||||
const response = await request(server)
|
||||
.post('/api/v1/urlcheck')
|
||||
.send({
|
||||
url: 'ipfs://QmQfpdcMWnLTXKKW9GPV7NgtEugghgD6HgzSF6gSrp2mL9'
|
||||
url:
|
||||
'ipfs://QmX5LRpEVocfks9FNDnRoK2imf2fy9mPpP4wfgaDVXWfYD/video.mp4'
|
||||
})
|
||||
expect(response.status).toBe(200)
|
||||
expect(response.body).toBeTruthy()
|
||||
|
Loading…
Reference in New Issue
Block a user