Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saeed-zil committed Mar 5, 2024
1 parent 929124a commit be3649b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
8 changes: 0 additions & 8 deletions test/connect.live.test.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
import chai, { expect } from "chai";
import { HardhatRuntimeEnvironment } from "hardhat/types";

import { scillaChaiEventMatcher } from '../src/ScillaChaiMatchers';
import * as ZilliqaHardhatObject from "../src/ZilliqaHardhatObject";

import { useEnvironment } from "./helpers"


chai.use(scillaChaiEventMatcher);

describe("", function () {

let hre : HardhatRuntimeEnvironment;
let zobj : ZilliqaHardhatObject.ZilliqaHardhatObject;

useEnvironment("hardhat-project");
describe("Contract connect", function () {
let contractAddress : string;

before(async function () {
const param = this.zobj.getDefaultAccount()!.address;
const contract = await this.hre.deployScillaContract("HelloWorld", param);
Expand Down
7 changes: 0 additions & 7 deletions test/defaults.test.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
import { BN, Long } from "@zilliqa-js/util";
import chai, { expect } from "chai";
import { HardhatRuntimeEnvironment } from "hardhat/types";


import { scillaChaiEventMatcher } from '../src/ScillaChaiMatchers';
import { setup } from '../src/ScillaContractDeployer';
import * as ZilliqaHardhatObject from "../src/ZilliqaHardhatObject";

import { useEnvironment } from "./helpers"

chai.use(scillaChaiEventMatcher);

describe("", function () {

let hre : HardhatRuntimeEnvironment;
let zobj : ZilliqaHardhatObject.ZilliqaHardhatObject;

useEnvironment("hardhat-project");
describe("Contract deployment", function () {
it("Should be able to override deployment parameters", async function () {
Expand Down
6 changes: 0 additions & 6 deletions test/deploy.live.test.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
import chai, { expect } from "chai";
import { HardhatRuntimeEnvironment } from "hardhat/types";

import { scillaChaiEventMatcher } from '../src/ScillaChaiMatchers';
import * as ZilliqaHardhatObject from "../src/ZilliqaHardhatObject";

import { useEnvironment } from "./helpers"

chai.use(scillaChaiEventMatcher);

describe("", function () {

let hre : HardhatRuntimeEnvironment;
let zobj : ZilliqaHardhatObject.ZilliqaHardhatObject;

useEnvironment("hardhat-project");
describe("Contract deployment", function () {
it("Should be able to deploy and call a contract", async function () {
Expand Down
7 changes: 0 additions & 7 deletions test/zilliqa.live.test.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
import { BN } from "@zilliqa-js/util";
import { expect } from "chai";
import { HardhatRuntimeEnvironment } from "hardhat/types";

import * as ZilliqaHardhatObject from "../src/ZilliqaHardhatObject";

import { useEnvironment } from "./helpers"

describe("", function () {

let hre : HardhatRuntimeEnvironment;
let zobj : ZilliqaHardhatObject.ZilliqaHardhatObject;

useEnvironment("hardhat-project");
this.timeout(500000);
describe("Zilliqa network APIs", function () {
Expand Down

0 comments on commit be3649b

Please sign in to comment.