Skip to content

Commit

Permalink
fix(style): lint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Feb 23, 2024
1 parent 7ee690a commit b5b421f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"stylelint-config-standard": "^20.0.0"
},
"volta": {
"node": "18.17.0",
"node": "21.6.1",
"yarn": "1.22.19"
}
}
2 changes: 1 addition & 1 deletion packages/api/test/web3Middleware/networkRouter.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Repositories } from '../../src/types.js'
import { NetworkRouter } from '../../src/web3Middleware/NetworkRouter'
import { NetworkRouter } from '../../src/web3Middleware/NetworkRouter.js'

describe('NetworkRouter', () => {
it('should fetch network contract', async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,15 @@
<<<<<<< HEAD:packages/api/test/web3Middleware/NetworkRouter.spec.ts
import { Repositories } from '../../src/types.js'
import { NetworkRouter } from '../../src/web3Middleware/NetworkRouter'

=======
import { Network, Repositories } from '../../src/types'
import { Configuration } from '../../src/web3Middleware/Configuration'
import {
NetworkInfo,
NetworkRouter
} from '../../src/web3Middleware/NetworkRouter'
>>>>>>> 3ed77b4 (feat: migrate ui package to nuxt3):packages/api/test/web3Middleware/networkRouter.spec.ts
import { NetworkRouter } from '../../src/web3Middleware/NetworkRouter.js'

describe('NetworkRouter', () => {
it('should fetch network contract', async () => {
// FIXME: create a proper mock
<<<<<<< HEAD:packages/api/test/web3Middleware/NetworkRouter.spec.ts
const repositories = { feedRepository: { }, resultRequestRepository: { } } as unknown as Repositories
const networkInfo = {
address:'0x9999999d139bdBFbF25923ba39F63bBFc7593400',
=======
const configuration = ({} as unknown) as Configuration
const repositories = ({
feedRepository: {},
resultRequestRepository: {}
} as unknown) as Repositories
const networkInfo: NetworkInfo = {
const networkInfo = {
address: '0x9999999d139bdBFbF25923ba39F63bBFc7593400',
>>>>>>> 3ed77b4 (feat: migrate ui package to nuxt3):packages/api/test/web3Middleware/networkRouter.spec.ts
provider: 'https://rpc2.sepolia.org',
name: 'ethereum.sepholia',
pollingPeriod: 1,
Expand Down

0 comments on commit b5b421f

Please sign in to comment.