forked from ethereum/remix-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
314.0.35.1.1692636596830.js.map
1 lines (1 loc) · 1.23 KB
/
314.0.35.1.1692636596830.js.map
1
{"version":3,"file":"314.0.35.1.1692636596830.js","mappings":"mRAAA,68B","sources":["webpack:///../../libs/remix-ws-templates/src/templates/remixDefault/tests/storage.test.js"],"sourcesContent":["export default \"// Right click on the script name and hit \\\"Run\\\" to execute\\nconst { expect } = require(\\\"chai\\\");\\nconst { ethers } = require(\\\"hardhat\\\");\\n\\ndescribe(\\\"Storage\\\", function () {\\n it(\\\"test initial value\\\", async function () {\\n const Storage = await ethers.getContractFactory(\\\"Storage\\\");\\n const storage = await Storage.deploy();\\n await storage.deployed();\\n console.log('storage deployed at:'+ storage.address)\\n expect((await storage.retrieve()).toNumber()).to.equal(0);\\n });\\n it(\\\"test updating and retrieving updated value\\\", async function () {\\n const Storage = await ethers.getContractFactory(\\\"Storage\\\");\\n const storage = await Storage.deploy();\\n await storage.deployed();\\n const storage2 = await ethers.getContractAt(\\\"Storage\\\", storage.address);\\n const setValue = await storage2.store(56);\\n await setValue.wait();\\n expect((await storage2.retrieve()).toNumber()).to.equal(56);\\n });\\n});\";"],"names":[],"sourceRoot":""}