mirror of https://github.com/certusone/oyster.git
Adding some more fixes to make things run
This commit is contained in:
parent
e59d009e94
commit
6848b0ad4d
|
@ -18,6 +18,7 @@
|
|||
"@types/chart.js": "^2.9.29",
|
||||
"@types/echarts": "^4.9.0",
|
||||
"@types/react-router-dom": "^5.1.6",
|
||||
"@types/testing-library__react": "^10.2.0",
|
||||
"@welldone-software/why-did-you-render": "^6.0.5",
|
||||
"antd": "^4.6.6",
|
||||
"bn.js": "^5.1.3",
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
import React from "react";
|
||||
import { render } from "@testing-library/react";
|
||||
import App from "./App";
|
||||
|
||||
test("renders learn react link", () => {
|
||||
const { getByText } = render(<App />);
|
||||
const linkElement = getByText(/learn react/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
|
@ -1,5 +1,5 @@
|
|||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import { useConnection } from '@common/contexts/connection';
|
||||
import { useConnection } from '@packages/common/contexts/connection';
|
||||
import { LENDING_PROGRAM_ID } from '@packages/common/utils/ids';
|
||||
import {
|
||||
LendingMarketParser,
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"include": ["src"]
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"compilerOptions": {}
|
||||
}
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
"composite": true,
|
||||
"noEmit": false
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
"include": ["src/**/*", "src/config/tokens.json"]
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"noEmit": true,
|
||||
"jsx": "react",
|
||||
"isolatedModules": true,
|
||||
"noImplicitAny": false,
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@packages/common/*": ["packages/common/src/*"]
|
||||
|
|
25
yarn.lock
25
yarn.lock
|
@ -2386,7 +2386,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@testing-library/dom@npm:*":
|
||||
"@testing-library/dom@npm:*, @testing-library/dom@npm:^7.28.1":
|
||||
version: 7.29.4
|
||||
resolution: "@testing-library/dom@npm:7.29.4"
|
||||
dependencies:
|
||||
|
@ -2434,6 +2434,19 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@testing-library/react@npm:*":
|
||||
version: 11.2.5
|
||||
resolution: "@testing-library/react@npm:11.2.5"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.5
|
||||
"@testing-library/dom": ^7.28.1
|
||||
peerDependencies:
|
||||
react: "*"
|
||||
react-dom: "*"
|
||||
checksum: 1389b4eb110ad32ac328634846fd92570979c0cb739a3ee99eeb2278860a1910a81126612457379fc306dbd6417b4b5ff1ddd88ede3d8ebb1da3972e70877e83
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@testing-library/react@npm:^9.5.0":
|
||||
version: 9.5.0
|
||||
resolution: "@testing-library/react@npm:9.5.0"
|
||||
|
@ -2858,6 +2871,15 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/testing-library__react@npm:^10.2.0":
|
||||
version: 10.2.0
|
||||
resolution: "@types/testing-library__react@npm:10.2.0"
|
||||
dependencies:
|
||||
"@testing-library/react": "*"
|
||||
checksum: 84af6b07c8225f2942c064baf7d4884f5cd95c6dd8273743f7190ebcd1ad0978032fa433f6f808d9a993b0ef4289ca17036a0d5dfeecaf08251ff890b0c13b9d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/testing-library__react@npm:^9.1.2":
|
||||
version: 9.1.3
|
||||
resolution: "@types/testing-library__react@npm:9.1.3"
|
||||
|
@ -10460,6 +10482,7 @@ fsevents@~2.3.1:
|
|||
"@types/react": ^16.9.50
|
||||
"@types/react-dom": ^16.9.8
|
||||
"@types/react-router-dom": ^5.1.6
|
||||
"@types/testing-library__react": ^10.2.0
|
||||
"@welldone-software/why-did-you-render": ^6.0.5
|
||||
antd: ^4.6.6
|
||||
arweave-deploy: ^1.9.1
|
||||
|
|
Loading…
Reference in New Issue