Skip to content

Commit

Permalink
test: disable tests relying on cloudflare-ipfs.com (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
boredland authored Nov 18, 2024
1 parent 1939318 commit c87c7b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/ipfs/parseIpfs.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { describe, it, expect } from 'vitest';
import { getProposalMetadata } from './parseIpfs';

describe('parse-ipfs', () => {
// TODO: re-enable when we found an alternative to cloudflare-ipfs.com
describe.skip('parse-ipfs', () => {
it('should work fine with json proposals', async () => {
const hash = 'QmNgK8kbBgznCag29VwwBz5Q8DXDM658BQzsfAHyLqR7mF';
const proposal = await getProposalMetadata(hash);
Expand Down
8 changes: 5 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"esModuleInterop": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"allowImportingTsExtensions": true
"allowImportingTsExtensions": false
},
"exclude": ["node_modules"]
}
"exclude": [
"node_modules"
]
}

0 comments on commit c87c7b5

Please sign in to comment.