Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-schaaf committed Mar 25, 2022
1 parent 7689d2c commit dc3ee93
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 18 deletions.
16 changes: 12 additions & 4 deletions tests/multiple-suites/tests/another-suite/another-suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,24 @@ describe("multiple-suites", () => {
const tx = await program.rpc.initialize(new anchor.BN(100000), {});

// SOME_TOKEN.json should exist
const SOME_TOKEN = await program.provider.connection.getAccountInfo(new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"));
const SOME_TOKEN = await program.provider.connection.getAccountInfo(
new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw")
);

// SOME_ACCOUNT.json should NOT exist
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"));
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(
new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
);

// ANOTHER_ACC.json should exist
const ANOTHER_ACC = await program.provider.connection.getAccountInfo(new PublicKey("JC7Vcye5upE6tMLAjAem76MCGuPNidTtg2cuYm71UukH"));
const ANOTHER_ACC = await program.provider.connection.getAccountInfo(
new PublicKey("JC7Vcye5upE6tMLAjAem76MCGuPNidTtg2cuYm71UukH")
);

// CLONED ACC should exist
const CLONED_ACC = await program.provider.connection.getAccountInfo(new PublicKey("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"));
const CLONED_ACC = await program.provider.connection.getAccountInfo(
new PublicKey("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s")
);

assert.isNotNull(SOME_TOKEN);
assert.isNull(SOME_ACCOUNT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,24 @@ describe("multiple-suites", () => {
const tx = await program.rpc.initialize(new anchor.BN(4389242), {});

// SOME_TOKEN.json should exist
const SOME_TOKEN = await program.provider.connection.getAccountInfo(new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"));
const SOME_TOKEN = await program.provider.connection.getAccountInfo(
new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw")
);

// SOME_ACCOUNT.json should NOT exist
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"));
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(
new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
);

// ANOTHER_ACC.json should exist
const ANOTHER_ACC = await program.provider.connection.getAccountInfo(new PublicKey("JC7Vcye5upE6tMLAjAem76MCGuPNidTtg2cuYm71UukH"));
const ANOTHER_ACC = await program.provider.connection.getAccountInfo(
new PublicKey("JC7Vcye5upE6tMLAjAem76MCGuPNidTtg2cuYm71UukH")
);

// CLONED ACC should exist
const CLONED_ACC = await program.provider.connection.getAccountInfo(new PublicKey("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"));
const CLONED_ACC = await program.provider.connection.getAccountInfo(
new PublicKey("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s")
);

assert.isNotNull(SOME_TOKEN);
assert.isNull(SOME_ACCOUNT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,24 @@ describe("multiple-suites", () => {
const tx = await program.rpc.initialize(new anchor.BN(34823), {});

// SOME_TOKEN.json should exist
const SOME_TOKEN = await program.provider.connection.getAccountInfo(new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"));
const SOME_TOKEN = await program.provider.connection.getAccountInfo(
new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw")
);

// SOME_ACCOUNT.json should NOT exist
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"));
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(
new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
);

// ANOTHER_ACC.json should exist
const ANOTHER_ACC = await program.provider.connection.getAccountInfo(new PublicKey("JC7Vcye5upE6tMLAjAem76MCGuPNidTtg2cuYm71UukH"));
const ANOTHER_ACC = await program.provider.connection.getAccountInfo(
new PublicKey("JC7Vcye5upE6tMLAjAem76MCGuPNidTtg2cuYm71UukH")
);

// CLONED ACC should exist
const CLONED_ACC = await program.provider.connection.getAccountInfo(new PublicKey("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"));
const CLONED_ACC = await program.provider.connection.getAccountInfo(
new PublicKey("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s")
);

assert.isNotNull(SOME_TOKEN);
assert.isNull(SOME_ACCOUNT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ describe("multiple-suites", () => {
const tx = await program.rpc.initialize(new anchor.BN(2394832), {});

// SOME_TOKEN.json should NOT exist
const SOME_TOKEN = await program.provider.connection.getAccountInfo(new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"));
const SOME_TOKEN = await program.provider.connection.getAccountInfo(
new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw")
);

// SOME_ACCOUNT.json should exist
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"));
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(
new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
);

assert.isNull(SOME_TOKEN);
assert.isNotNull(SOME_ACCOUNT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ describe("multiple-suites", () => {
const tx = await program.rpc.initialize(new anchor.BN(347234), {});

// SOME_TOKEN.json should exist
const SOME_TOKEN = await program.provider.connection.getAccountInfo(new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"));
const SOME_TOKEN = await program.provider.connection.getAccountInfo(
new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw")
);

// SOME_ACCOUNT.json should NOT exist
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"));
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(
new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
);

assert.isNotNull(SOME_TOKEN);
assert.isNull(SOME_ACCOUNT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ describe("multiple-suites", () => {
const tx = await program.rpc.initialize(new anchor.BN(9348239), {});

// SOME_TOKEN.json should exist
const SOME_TOKEN = await program.provider.connection.getAccountInfo(new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"));
const SOME_TOKEN = await program.provider.connection.getAccountInfo(
new PublicKey("C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw")
);

// SOME_ACCOUNT.json should NOT exist
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"));
const SOME_ACCOUNT = await program.provider.connection.getAccountInfo(
new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
);

assert.isNotNull(SOME_TOKEN);
assert.isNull(SOME_ACCOUNT);
Expand Down

0 comments on commit dc3ee93

Please sign in to comment.