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 3b7df32 commit d81fc1d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cadence/tests/Recipe_test.cdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import Test

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: "ExampleNFT",
path: "../contracts/ExampleNFT.cdc",
arguments: [],
)

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

0 comments on commit d81fc1d

Please sign in to comment.