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

chore(jest): resolve eslint warnings #2850

Merged
merged 1 commit into from
Apr 13, 2022
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions libraries/Crypto/Crypto.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ describe('Crypto.default.isInitialized', () => {
let inst: any

beforeEach(() => {
inst = new Crypto.default()
inst = new CryptoDefault()
})

test('0', () => {
const result: any = inst.isInitialized()
expect(result).toMatchSnapshot()
})
})
})
50 changes: 25 additions & 25 deletions libraries/Solana/SolanaManager/SolanaManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,15 +305,15 @@ describe('SolanaManager.default.generateDerivedPublicKey', () => {
let inst2: any

beforeEach(() => {
inst10 = new SolanaManager.default()
inst9 = new SolanaManager.default()
inst8 = new SolanaManager.default()
inst7 = new SolanaManager.default()
inst6 = new SolanaManager.default()
inst4 = new SolanaManager.default()
inst3 = new SolanaManager.default()
inst = new SolanaManager.default()
inst2 = new SolanaManager.default()
inst10 = new SolanaManagerDefault()
inst9 = new SolanaManagerDefault()
inst8 = new SolanaManagerDefault()
inst7 = new SolanaManagerDefault()
inst6 = new SolanaManagerDefault()
inst4 = new SolanaManagerDefault()
inst3 = new SolanaManagerDefault()
inst = new SolanaManagerDefault()
inst2 = new SolanaManagerDefault()
})

test('0', async () => {
Expand Down Expand Up @@ -342,7 +342,7 @@ describe('SolanaManager.default.generateDerivedPublicKey', () => {
let inst2: any

beforeEach(() => {
inst2 = new SolanaManager.default()
inst2 = new SolanaManagerDefault()
})

test('0', async () => {
Expand All @@ -354,7 +354,7 @@ describe('SolanaManager.default.generateDerivedPublicKey', () => {
let inst2: any

beforeEach(() => {
inst2 = new SolanaManager.default()
inst2 = new SolanaManagerDefault()
})

test('0', async () => {
Expand All @@ -366,7 +366,7 @@ describe('SolanaManager.default.generateDerivedPublicKey', () => {
let inst2: any

beforeEach(() => {
inst2 = new SolanaManager.default()
inst2 = new SolanaManagerDefault()
})

test('0', () => {
Expand All @@ -387,15 +387,15 @@ describe('SolanaManager.default.generateDerivedPublicKey', () => {
let inst2: any

beforeEach(() => {
inst9 = new SolanaManager.default()
inst8 = new SolanaManager.default()
inst7 = new SolanaManager.default()
inst6 = new SolanaManager.default()
inst5 = new SolanaManager.default()
inst4 = new SolanaManager.default()
inst3 = new SolanaManager.default()
inst = new SolanaManager.default()
inst2 = new SolanaManager.default()
inst9 = new SolanaManagerDefault()
inst8 = new SolanaManagerDefault()
inst7 = new SolanaManagerDefault()
inst6 = new SolanaManagerDefault()
inst5 = new SolanaManagerDefault()
inst4 = new SolanaManagerDefault()
inst3 = new SolanaManagerDefault()
inst = new SolanaManagerDefault()
inst2 = new SolanaManagerDefault()
})

test('0', async () => {
Expand All @@ -412,7 +412,7 @@ describe('SolanaManager.default.generateDerivedPublicKey', () => {
let inst2: any

beforeEach(() => {
inst2 = new SolanaManager.default()
inst2 = new SolanaManagerDefault()
})

test('0', () => {
Expand All @@ -427,9 +427,9 @@ describe('SolanaManager.default.generateDerivedPublicKey', () => {
let inst2: any

beforeEach(() => {
inst3 = new SolanaManager.default()
inst = new SolanaManager.default()
inst2 = new SolanaManager.default()
inst3 = new SolanaManagerDefault()
inst = new SolanaManagerDefault()
inst2 = new SolanaManagerDefault()
})

test('0', () => {
Expand Down