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

fix: fix typos in tests and comments #15028

Merged
merged 1 commit into from
Oct 24, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
--toastWidth: 339px;

/*
We need to makes the surroundings dissapear in order
We need to makes the surroundings disappear in order
to fully customize the toast with our own component
*/
--toastBackground: transparent;
Expand Down
4 changes: 2 additions & 2 deletions packages/bridge-ui-v2/src/libs/token/checkOwnership.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ describe('checkOwnership', () => {
});

describe('General tests', () => {
it('should return an emtpy array if tokenType is null', async () => {
it('should return an empty array if tokenType is null', async () => {
// When
const result = await checkOwnership(TOKEN_ADDRESS, null, TOKEN_IDS, OWNER, CHAIN_ID);

// Then
expect(result).toEqual([]);
});

it('should return an emtpy array if tokenIds array is empty', async () => {
it('should return an empty array if tokenIds array is empty', async () => {
// When
const result = await checkOwnership(TOKEN_ADDRESS, TokenType.ERC721, [], OWNER, CHAIN_ID);

Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-ui/src/signer/subscriber.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('subscribeToSigner', () => {
// Next we test functions are called with the right arguments:
expect(tokenService.getTokens).toHaveBeenCalledWith(address);

// We pass what's returned from the previos tokenService.getTokens
// We pass what's returned from the previous tokenService.getTokens
// and that is the tokens array
expect(userTokens.set).toHaveBeenCalledWith(tokens);

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/L1/TaikoL1.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ contract TaikoL1Test is TaikoL1TestBase {
// uint96 minAmount = conf.ethDepositMinAmount;
uint96 maxAmount = conf.ethDepositMaxAmount;

// We need 8 depostis otherwise we are not processing them !
// We need 8 deposits otherwise we are not processing them !
giveEthAndTko(Alice, 1e6 ether, maxAmount + 1 ether);
giveEthAndTko(Bob, 0, maxAmount + 1 ether);
giveEthAndTko(Carol, 0, maxAmount + 1 ether);
Expand Down
Loading