We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d20856 commit e10e2f8Copy full SHA for e10e2f8
1 file changed
docs/build/tools/flow-cli/tests.md
@@ -95,10 +95,8 @@ Assuming you have a test script named `test_script_test.cdc` in your project dir
95
// test_script_test.cdc
96
import Test
97
98
-access(all) let blockchain = Test.newEmulatorBlockchain()
99
-
100
access(all) fun testSumOfTwo() {
101
- let scriptResult = blockchain.executeScript(
+ let scriptResult = Test.executeScript(
102
"access(all) fun main(a: Int, b: Int): Int { return a + b }",
103
[2, 3]
104
)
0 commit comments