Skip to content

Commit

Permalink
Merge pull request #51 from kodadot/chore/test
Browse files Browse the repository at this point in the history
🧪 remove rmrk, ksm is ahk now
  • Loading branch information
vikiival authored Oct 4, 2024
2 parents 2a37174 + 7ef9504 commit 56052c7
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ import { SquidNFT } from '../src/types'

describe('UNIQUERY UTILS', () => {
describe('getURL', () => {
it('should return default kusama indexer', () => {
const url = getUrl('rmrk')
expect(url).eq('https://squid.subsquid.io/rubick/graphql')
})

it('should return subsquid kusama indexer', () => {
const url = getUrl('rmrk', 'subsquid')
expect(url).eq('https://squid.subsquid.io/rubick/graphql')
})

it('should throw on subquery kusama indexer', () => {
// eslint-disable-next-line unicorn/consistent-function-scoping
const fn = () => getUrl('ksm', 'subquery')
Expand All @@ -23,12 +13,12 @@ describe('UNIQUERY UTILS', () => {

it('should return default kusama indexer', () => {
const url = getUrl('ksm')
expect(url).eq('https://ksm.gql.api.kodadot.xyz/')
expect(url).eq('https://ahk.gql.api.kodadot.xyz/')
})

it('should return default base indexer', () => {
const url = getUrl('base')
expect(url).eq('https://squid.subsquid.io/basick/graphql')
expect(url).eq('https://kodadot.squids.live/basick/graphql')
})

it('should return default Kusama Asset Hub indexer', () => {
Expand Down

0 comments on commit 56052c7

Please sign in to comment.