Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lealobanov committed Dec 15, 2024
1 parent 3ae369c commit 3a6b3aa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cadence/tests/Recipe_test.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,14 @@ access(all) fun testExample() {
let array = [1, 2, 3]
Test.expect(array.length, Test.equal(3))
}

access(all)
fun setup() {
let err = Test.deployContract(
name: "ExampleToken",
path: "../contracts/Recipe.cdc",
arguments: [],
)

Test.expect(err, Test.beNil())
}

0 comments on commit 3a6b3aa

Please sign in to comment.