Skip to content

Commit

Permalink
chore(deps): bump deps (#724)
Browse files Browse the repository at this point in the history
* chore(deps): bump deps

* chore(deps): bump deps
  • Loading branch information
thedoublejay authored Nov 14, 2023
1 parent 4fdd3eb commit 39c3827
Show file tree
Hide file tree
Showing 98 changed files with 3,020 additions and 2,503 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"react/button-has-type": "warn",
"@typescript-eslint/naming-convention": "warn",
"no-underscore-dangle": "warn",
"react/no-unused-prop-types": "warn"
"react/no-unused-prop-types": "warn",
"jsx-a11y/control-has-associated-label": "warn"
}
}
4 changes: 2 additions & 2 deletions cypress/deprecated/developers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ context("Developers page on desktop", () => {
cy.findByTestId("Header.title").should("contain.text", "Developers");
cy.findByTestId("Header.desc.main").should(
"have.text",
"Build on DeFiChain"
"Build on DeFiChain",
);
});

Expand Down Expand Up @@ -49,7 +49,7 @@ context("Developers page on mobile", () => {
cy.findByTestId("Header.title").should("contain.text", "Developers");
cy.findByTestId("Header.desc.main").should(
"have.text",
"Build on DeFiChain"
"Build on DeFiChain",
);
});

Expand Down
68 changes: 34 additions & 34 deletions cypress/deprecated/dex.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ context("/dex on macbook-16", () => {
it("should have Header", () => {
cy.findByTestId("Header.title").should(
"have.text",
"Decentralized Exchange"
"Decentralized Exchange",
);
cy.findByTestId("Header.desc.main").should(
"have.text",
"Liquidity mining for up to 100% returns, decentralized swapping, arbitrage and more, with the DeFi Wallet."
"Liquidity mining for up to 100% returns, decentralized swapping, arbitrage and more, with the DeFi Wallet.",
);
cy.findByTestId("Header.desc.secondary").should(
"have.text",
"Available for Windows, macOS and Linux"
"Available for Windows, macOS and Linux",
);
});

Expand All @@ -28,7 +28,7 @@ context("/dex on macbook-16", () => {
cy.findByTestId("Section.Title").should("have.text", "Liquidity Pools");
cy.findByTestId("LiquidityPools.showAllBtn").should(
"have.text",
"Show All"
"Show All",
);
cy.findByTestId("LiquidityPools.showAllBtn")
.click()
Expand All @@ -40,13 +40,13 @@ context("/dex on macbook-16", () => {
cy.findByTestId("LiquidityMiningSection.image").should("be.visible");
cy.findByTestId("LiquidityMiningSection.title").should(
"have.text",
"Earn More With Liquidity Mining!"
"Earn More With Liquidity Mining!",
);
cy.findByTestId("LiquidityMiningSection.desc")
.click()
.should(
"have.text",
"Liquidity mine for incredibly high yields within the app! Supply liquidity to BTC, ETH, USDT and many other pool pairs to power the Decentralized Exchange, and earn fees and high block rewards in return. You can withdraw your liquidity at any time."
"Liquidity mine for incredibly high yields within the app! Supply liquidity to BTC, ETH, USDT and many other pool pairs to power the Decentralized Exchange, and earn fees and high block rewards in return. You can withdraw your liquidity at any time.",
);
});

Expand All @@ -59,68 +59,68 @@ context("/dex on macbook-16", () => {
cy.findByTestId("title").should("have.text", "HD wallet");
cy.findByTestId("desc").should(
"have.text",
"A Hierarchical Deterministic (HD) wallet based on the leading BIP39 standard"
"A Hierarchical Deterministic (HD) wallet based on the leading BIP39 standard",
);
});
cy.findByTestId("WalletFeaturesSection.BackupAndRestore").within(() => {
cy.findByTestId("title").should("have.text", "Backup and restore");
cy.findByTestId("desc").should(
"have.text",
"Backup and restore your wallet and funds any time with your 24-word seed phrase"
"Backup and restore your wallet and funds any time with your 24-word seed phrase",
);
});
cy.findByTestId("WalletFeaturesSection.DecentralizedExchange").within(
() => {
cy.findByTestId("title").should(
"have.text",
"Decentralized Exchange"
"Decentralized Exchange",
);
cy.findByTestId("desc").should(
"have.text",
"Swap between DFI and wrapped tokens in a completely decentralized, exchange"
"Swap between DFI and wrapped tokens in a completely decentralized, exchange",
);
}
},
);
cy.findByTestId("WalletFeaturesSection.LiquidityMining").within(() => {
cy.findByTestId("title").should("have.text", "Liquidity mining");
cy.findByTestId("desc").should(
"have.text",
"Supply and mine liquidity in popular pool pairs for potentially high yields"
"Supply and mine liquidity in popular pool pairs for potentially high yields",
);
});
cy.findByTestId("WalletFeaturesSection.TokensSupport").within(() => {
cy.findByTestId("title").should("have.text", "Tokens Support");
cy.findByTestId("desc").should(
"have.text",
"Store and transact in DFI, as well as all tokens in the DeFiChain ecosystem"
"Store and transact in DFI, as well as all tokens in the DeFiChain ecosystem",
);
});
cy.findByTestId("WalletFeaturesSection.MiniExplorer").within(() => {
cy.findByTestId("title").should("have.text", "Mini explorer");
cy.findByTestId("desc").should(
"have.text",
"Explore the blockchain and examine transactions"
"Explore the blockchain and examine transactions",
);
});
cy.findByTestId("WalletFeaturesSection.Masternodes").within(() => {
cy.findByTestId("title").should("have.text", "Masternodes");
cy.findByTestId("desc").should(
"have.text",
"View the full list of masternodes, and create your own masternodes"
"View the full list of masternodes, and create your own masternodes",
);
});
cy.findByTestId("WalletFeaturesSection.Console").within(() => {
cy.findByTestId("title").should("have.text", "Console");
cy.findByTestId("desc").should(
"have.text",
"Run account, blockchain, masternode, mining, network, wallet commands, and more"
"Run account, blockchain, masternode, mining, network, wallet commands, and more",
);
});
cy.findByTestId("WalletFeaturesSection.NetworkSelection").within(() => {
cy.findByTestId("title").should("have.text", "Network selection");
cy.findByTestId("desc").should(
"have.text",
"The app supports easy connecting and switching between Mainnet and Testnet"
"The app supports easy connecting and switching between Mainnet and Testnet",
);
});
});
Expand All @@ -140,15 +140,15 @@ context("/dex on iphone-x", () => {
it("should have Header", () => {
cy.findByTestId("Header.title").should(
"have.text",
"Decentralized Exchange"
"Decentralized Exchange",
);
cy.findByTestId("Header.desc.main").should(
"have.text",
"Liquidity mining for up to 100% returns, decentralized swapping, arbitrage and more, with the DeFi Wallet."
"Liquidity mining for up to 100% returns, decentralized swapping, arbitrage and more, with the DeFi Wallet.",
);
cy.findByTestId("Header.desc.secondary").should(
"have.text",
"Available for Windows, macOS and Linux"
"Available for Windows, macOS and Linux",
);
});

Expand All @@ -157,7 +157,7 @@ context("/dex on iphone-x", () => {
cy.findByTestId("Section.Title").should("have.text", "Liquidity Pools");
cy.findByTestId("LiquidityPools.showAllBtn").should(
"have.text",
"Show All"
"Show All",
);
cy.findByTestId("LiquidityPools.showAllBtn")
.click()
Expand All @@ -169,13 +169,13 @@ context("/dex on iphone-x", () => {
cy.findByTestId("LiquidityMiningSection.image").should("be.visible");
cy.findByTestId("LiquidityMiningSection.title").should(
"have.text",
"Earn More With Liquidity Mining!"
"Earn More With Liquidity Mining!",
);
cy.findByTestId("LiquidityMiningSection.desc")
.click()
.should(
"have.text",
"Liquidity mine for incredibly high yields within the app! Supply liquidity to BTC, ETH, USDT and many other pool pairs to power the Decentralized Exchange, and earn fees and high block rewards in return. You can withdraw your liquidity at any time."
"Liquidity mine for incredibly high yields within the app! Supply liquidity to BTC, ETH, USDT and many other pool pairs to power the Decentralized Exchange, and earn fees and high block rewards in return. You can withdraw your liquidity at any time.",
);
});

Expand All @@ -188,68 +188,68 @@ context("/dex on iphone-x", () => {
cy.findByTestId("title").should("have.text", "HD wallet");
cy.findByTestId("desc").should(
"have.text",
"A Hierarchical Deterministic (HD) wallet based on the leading BIP39 standard"
"A Hierarchical Deterministic (HD) wallet based on the leading BIP39 standard",
);
});
cy.findByTestId("WalletFeaturesSection.BackupAndRestore").within(() => {
cy.findByTestId("title").should("have.text", "Backup and restore");
cy.findByTestId("desc").should(
"have.text",
"Backup and restore your wallet and funds any time with your 24-word seed phrase"
"Backup and restore your wallet and funds any time with your 24-word seed phrase",
);
});
cy.findByTestId("WalletFeaturesSection.DecentralizedExchange").within(
() => {
cy.findByTestId("title").should(
"have.text",
"Decentralized Exchange"
"Decentralized Exchange",
);
cy.findByTestId("desc").should(
"have.text",
"Swap between DFI and wrapped tokens in a completely decentralized, exchange"
"Swap between DFI and wrapped tokens in a completely decentralized, exchange",
);
}
},
);
cy.findByTestId("WalletFeaturesSection.LiquidityMining").within(() => {
cy.findByTestId("title").should("have.text", "Liquidity mining");
cy.findByTestId("desc").should(
"have.text",
"Supply and mine liquidity in popular pool pairs for potentially high yields"
"Supply and mine liquidity in popular pool pairs for potentially high yields",
);
});
cy.findByTestId("WalletFeaturesSection.TokensSupport").within(() => {
cy.findByTestId("title").should("have.text", "Tokens Support");
cy.findByTestId("desc").should(
"have.text",
"Store and transact in DFI, as well as all tokens in the DeFiChain ecosystem"
"Store and transact in DFI, as well as all tokens in the DeFiChain ecosystem",
);
});
cy.findByTestId("WalletFeaturesSection.MiniExplorer").within(() => {
cy.findByTestId("title").should("have.text", "Mini explorer");
cy.findByTestId("desc").should(
"have.text",
"Explore the blockchain and examine transactions"
"Explore the blockchain and examine transactions",
);
});
cy.findByTestId("WalletFeaturesSection.Masternodes").within(() => {
cy.findByTestId("title").should("have.text", "Masternodes");
cy.findByTestId("desc").should(
"have.text",
"View the full list of masternodes, and create your own masternodes"
"View the full list of masternodes, and create your own masternodes",
);
});
cy.findByTestId("WalletFeaturesSection.Console").within(() => {
cy.findByTestId("title").should("have.text", "Console");
cy.findByTestId("desc").should(
"have.text",
"Run account, blockchain, masternode, mining, network, wallet commands, and more"
"Run account, blockchain, masternode, mining, network, wallet commands, and more",
);
});
cy.findByTestId("WalletFeaturesSection.NetworkSelection").within(() => {
cy.findByTestId("title").should("have.text", "Network selection");
cy.findByTestId("desc").should(
"have.text",
"The app supports easy connecting and switching between Mainnet and Testnet"
"The app supports easy connecting and switching between Mainnet and Testnet",
);
});
});
Expand Down
4 changes: 2 additions & 2 deletions cypress/deprecated/dfi.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ context("/dfi page on desktop", () => {
cy.findByTestId("Header.title").should("have.text", "$DFI");
cy.findByTestId("Header.desc.main").should(
"have.text",
"Learn about and acquire the $DFI coin"
"Learn about and acquire the $DFI coin",
);
});

Expand Down Expand Up @@ -97,7 +97,7 @@ context("/dfi page on mobile", () => {
cy.findByTestId("Header.title").should("have.text", "$DFI");
cy.findByTestId("Header.desc.main").should(
"have.text",
"Learn about and acquire the $DFI coin"
"Learn about and acquire the $DFI coin",
);
});

Expand Down
18 changes: 9 additions & 9 deletions cypress/deprecated/downloads.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ context("/downloads page on desktop", () => {
it("should have Header", () => {
cy.findByTestId("Header.title").should(
"have.text",
"Your key to the DeFiChain ecosystem"
"Your key to the DeFiChain ecosystem",
);
cy.findByTestId("Header.desc.main").should(
"have.text",
"Gain access to the DeFi landscape through non-custodial wallets designed for a multitude of requirements."
"Gain access to the DeFi landscape through non-custodial wallets designed for a multitude of requirements.",
);
});

Expand All @@ -27,7 +27,7 @@ context("/downloads page on desktop", () => {
.should("be.visible")
.should(
"have.text",
"These wallets provide lightweight, easy access to DeFiChain’s suite of features. Best suited for users who interact with DeFiChain on a near-daily basis, while not compromising on speed and security of funds."
"These wallets provide lightweight, easy access to DeFiChain’s suite of features. Best suited for users who interact with DeFiChain on a near-daily basis, while not compromising on speed and security of funds.",
);

cy.findByTestId("LightWallets.Dfc").should("be.visible");
Expand All @@ -41,7 +41,7 @@ context("/downloads page on desktop", () => {
.should("be.visible")
.should(
"have.text",
"Advanced wallets that are suited for complex usage of DeFiChain, such as masternode management, multi-signature management, and more."
"Advanced wallets that are suited for complex usage of DeFiChain, such as masternode management, multi-signature management, and more.",
);

cy.findByTestId("FullNodeWallets.Dfc").should("be.visible");
Expand All @@ -64,11 +64,11 @@ context("/downloads page on mobile", () => {
it("should have Header", () => {
cy.findByTestId("Header.title").should(
"have.text",
"Your key to the DeFiChain ecosystem"
"Your key to the DeFiChain ecosystem",
);
cy.findByTestId("Header.desc.main").should(
"have.text",
"Gain access to the DeFi landscape through non-custodial wallets designed for a multitude of requirements."
"Gain access to the DeFi landscape through non-custodial wallets designed for a multitude of requirements.",
);
});

Expand All @@ -80,7 +80,7 @@ context("/downloads page on mobile", () => {
.should("be.visible")
.should(
"have.text",
"These wallets provide lightweight, easy access to DeFiChain’s suite of features. Best suited for users who interact with DeFiChain on a near-daily basis, while not compromising on speed and security of funds."
"These wallets provide lightweight, easy access to DeFiChain’s suite of features. Best suited for users who interact with DeFiChain on a near-daily basis, while not compromising on speed and security of funds.",
);

cy.findByTestId("LightWallets.Dfc").should("be.visible");
Expand All @@ -94,7 +94,7 @@ context("/downloads page on mobile", () => {
.should("be.visible")
.should(
"have.text",
"Advanced wallets that are suited for complex usage of DeFiChain, such as masternode management, multi-signature management, and more."
"Advanced wallets that are suited for complex usage of DeFiChain, such as masternode management, multi-signature management, and more.",
);

cy.findByTestId("FullNodeWallets.Dfc").should("be.visible");
Expand All @@ -111,7 +111,7 @@ context("/downloads page on mobile", () => {
.should("be.visible")
.should(
"have.text",
'The media assets are released under CCO license. "No Rights Reserved".'
'The media assets are released under CCO license. "No Rights Reserved".',
);
cy.findAllByTestId("DownloadSection.Card").should("have.length", 5);
});
Expand Down
Loading

0 comments on commit 39c3827

Please sign in to comment.