diff --git a/cadence/tests/Recipe_test.cdc b/cadence/tests/Recipe_test.cdc index 986e8fe..10b7dc8 100644 --- a/cadence/tests/Recipe_test.cdc +++ b/cadence/tests/Recipe_test.cdc @@ -1,4 +1,17 @@ import Test +import "test_helpers.cdc" + + +access(all) +fun setup() { + let err = Test.deployContract( + name: "Recipe", + path: "../contracts/Recipe.cdc", + arguments: [], + ) + + Test.expect(err, Test.beNil()) +} access(all) fun testExample() { let array = [1, 2, 3] diff --git a/flow.json b/flow.json index 65e216e..be51067 100644 --- a/flow.json +++ b/flow.json @@ -3,7 +3,8 @@ "Recipe": { "source": "./cadence/contracts/Recipe.cdc", "aliases": { - "emulator": "f8d6e0586b0a20c7" + "emulator": "f8d6e0586b0a20c7", + "testing": "0000000000000007" } } }, @@ -77,7 +78,8 @@ "aliases": { "emulator": "f8d6e0586b0a20c7", "mainnet": "0b2a3299cc857e29", - "testnet": "877931736ee77cff" + "testnet": "877931736ee77cff", + "testing": "0000000000000007" } }, "TopShotLocking": { @@ -86,7 +88,8 @@ "aliases": { "emulator": "f8d6e0586b0a20c7", "mainnet": "0b2a3299cc857e29", - "testnet": "877931736ee77cff" + "testnet": "877931736ee77cff", + "testing": "0000000000000007" } }, "ViewResolver": {