Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧪 remove rmrk, ksm is ahk now #51

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading