Skip to content

Commit

Permalink
tests: skip infinite for loops tests (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
YamenMerhi authored Sep 6, 2023
1 parent 90d1f4e commit b8eca3c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/LSP7DigitalAsset/LSP7CompatibleERC20.behaviour.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = (
).to.equal(amount);
});

it('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
it.skip('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
const operatorThatConsumeAllGas: UniversalReceiverDelegateGasConsumer =
await new UniversalReceiverDelegateGasConsumer__factory(
context.accounts.owner,
Expand Down Expand Up @@ -252,7 +252,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = (
).to.equal(ethers.constants.Zero);
});

it('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
it.skip('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
const operatorThatConsumeAllGas: UniversalReceiverDelegateGasConsumer =
await new UniversalReceiverDelegateGasConsumer__factory(
context.accounts.owner,
Expand Down
4 changes: 2 additions & 2 deletions tests/LSP7DigitalAsset/LSP7DigitalAsset.behaviour.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise<LSP7TestContext
expect(await context.lsp7.authorizedAmountFor(operator, tokenOwner)).to.equal(amount);
});

it('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
it.skip('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
const operatorThatConsumeAllGas: UniversalReceiverDelegateGasConsumer =
await new UniversalReceiverDelegateGasConsumer__factory(
context.accounts.owner,
Expand Down Expand Up @@ -707,7 +707,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise<LSP7TestContext
);
});

it('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
it.skip('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
const operatorThatConsumeAllGas: UniversalReceiverDelegateGasConsumer =
await new UniversalReceiverDelegateGasConsumer__factory(context.accounts.owner).deploy();
const operator = operatorThatConsumeAllGas.address;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export const shouldBehaveLikeLSP8CompatibleERC721 = (
).to.be.true;
});

it('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
it.skip('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
const operatorThatConsumeAllGas: UniversalReceiverDelegateGasConsumer =
await new UniversalReceiverDelegateGasConsumer__factory(
context.accounts.owner,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise<LSP8TestContext
expect(await context.lsp8.isOperatorFor(operator, tokenId)).to.be.true;
});

it('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
it.skip('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
const operatorThatConsumeAllGas: UniversalReceiverDelegateGasConsumer =
await new UniversalReceiverDelegateGasConsumer__factory(
context.accounts.owner,
Expand Down Expand Up @@ -473,7 +473,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise<LSP8TestContext
expect(await context.lsp8.isOperatorFor(operator, tokenId)).to.be.false;
});

it('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
it.skip('should succeed and inform the operator even if the operator use gas indefinitely', async () => {
const operatorThatConsumeAllGas: UniversalReceiverDelegateGasConsumer =
await new UniversalReceiverDelegateGasConsumer__factory(
context.accounts.owner,
Expand Down

0 comments on commit b8eca3c

Please sign in to comment.