Skip to content

Commit 3deacac

Browse files
Seulgi Kimsgkim126
authored andcommitted
Cleanup the imports in e2e tests
This patch removes unused imports in e2e tests and reorders import statements.
1 parent 12711f2 commit 3deacac

32 files changed

Lines changed: 28 additions & 72 deletions

test/src/e2e.long/bootstrap.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import "mocha";
1918
import { PromiseExpect } from "../helper/promise";
2019
import CodeChain from "../helper/spawn";

test/src/e2e.long/expiration.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { wait } from "../helper/promise";
18-
import CodeChain from "../helper/spawn";
19-
20-
import "mocha";
21-
2217
import { expect } from "chai";
2318
import { H256 } from "codechain-primitives";
19+
import "mocha";
2420
import { faucetAddress } from "../helper/constants";
21+
import { wait } from "../helper/promise";
22+
import CodeChain from "../helper/spawn";
2523

2624
describe("TransferAsset expiration test", function() {
2725
let node: CodeChain;

test/src/e2e.long/invalidBlockPropagation0.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import { H256 } from "codechain-primitives/lib";
1918
import "mocha";
2019
import { createTestSuite } from "./invalidBlockPropagation.helper";

test/src/e2e.long/invalidBlockPropagation1.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import "mocha";
1918

2019
describe.skip("invalid block propagation 1", async function() {

test/src/e2e.long/invalidBlockPropagation2.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import { U256 } from "codechain-primitives/lib";
1918
import "mocha";
2019
import { createTestSuite } from "./invalidBlockPropagation.helper";

test/src/e2e.long/invalidBlockPropagation3.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import { H160 } from "codechain-primitives/lib";
1918
import "mocha";
2019
import { createTestSuite } from "./invalidBlockPropagation.helper";

test/src/e2e.long/invalidBlockPropagation4.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import "mocha";
1918
import { createTestSuite } from "./invalidBlockPropagation.helper";
2019

test/src/e2e.long/invalidBlockPropagation5.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import { H256 } from "codechain-primitives/lib";
1918
import "mocha";
2019
import { createTestSuite } from "./invalidBlockPropagation.helper";

test/src/e2e.long/invalidBlockPropagation6.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import { H256 } from "codechain-primitives/lib";
1918
import "mocha";
2019
import { createTestSuite } from "./invalidBlockPropagation.helper";

test/src/e2e.long/invalidBlockPropagation8.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1616

17-
import { expect } from "chai";
1817
import { U256 } from "codechain-primitives/lib";
1918
import "mocha";
2019
import { createTestSuite } from "./invalidBlockPropagation.helper";

0 commit comments

Comments
 (0)