forked from glifio/node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.setup.js
19 lines (17 loc) · 847 Bytes
/
jest.setup.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const { TextDecoder, TextEncoder } = require('util')
global.TextDecoder = TextDecoder
global.TextEncoder = TextEncoder
import '@testing-library/jest-dom'
import 'jest-styled-components'
import 'whatwg-fetch'
process.env.NEXT_PUBLIC_HOME_URL = 'https://glif.io'
process.env.NEXT_PUBLIC_BLOG_URL = 'https://blog.glif.io/'
process.env.NEXT_PUBLIC_WALLET_URL = 'https://wallet-calibration.glif.link'
process.env.NEXT_PUBLIC_SAFE_URL = 'https://safe-calibration.glif.link'
process.env.NEXT_PUBLIC_EXPLORER_URL = 'https://explorer-calibration.glif.link'
process.env.NEXT_PUBLIC_VERIFIER_URL = 'https://verify-calibration.glif.link'
process.env.NEXT_PUBLIC_LOTUS_NODE_JSONRPC =
'https://api.calibration.node.glif.io/rpc/v0'
process.env.NEXT_PUBLIC_COIN_TYPE = 't'
process.env.NEXT_PUBLIC_GRAPH_API_URL =
'https://graph-calibration.glif.link/query'