Skip to content

Instantly share code, notes, and snippets.

View adharshs34's full-sized avatar
🏠
Working from home

Abi adharshs34

🏠
Working from home
View GitHub Profile
@adharshs34
adharshs34 / .deps...npm....resolution-index.json
Created May 2, 2026 09:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"tests/newFile_test.sol": {
"remix_tests.sol": "remix_tests.sol",
"remix_accounts.sol": "remix_accounts.sol",
"__sources__": {
"tests/newFile_test.sol": {
"content": "// SPDX-License-Identifier: GPL-3.0\n \npragma solidity >=0.4.22 <0.9.0;\n\n// This import is automatically injected by Remix\nimport \"remix_tests.sol\"; \n\n// This import is required to use custom transaction context\n// Although it may fail compilation in 'Solidity Compiler' plugin\n// But it will work fine in 'Solidity Unit Testing' plugin\nimport \"remix_accounts.sol\";\n// <import file to test>\n\n// File name has to end with '_test.sol', this file can contain more than one testSuite contracts\ncontract testSuite {\n\n /// 'beforeAll' runs before all other tests\n /// More special functions are: 'beforeEach', 'beforeAll', 'afterEach' & 'afterAll'\n function beforeAll() public {\n // <instantiate contract>\n Assert.equal(uint(1), uint(1), \"1 should be equal to 1\");\n }\n\n