@@ -27,7 +27,7 @@ Resolves name alias to a Flow address (`0x` prefixed) under the following condit
2727
2828``` javascript
2929import path from " path"
30- import {init , emulator , getAccountAddress } from " flow-js-testing"
30+ import {init , emulator , getAccountAddress } from " @onflow/ flow-js-testing"
3131
3232const main = async () => {
3333 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -70,7 +70,7 @@ Props object accepts following fields:
7070
7171``` javascript
7272import path from " path" ;
73- import { init , emulator , deployContractByName } from " flow-js-testing" ;
73+ import { init , emulator , deployContractByName } from " @onflow/ flow-js-testing" ;
7474
7575const main = async () => {
7676 const basePath = path .resolve (__dirname , " ../cadence" );
@@ -134,7 +134,7 @@ import {
134134 getAccountAddress ,
135135 deployContract ,
136136 executeScript ,
137- } from " flow-js-testing"
137+ } from " @onflow/ flow-js-testing"
138138
139139;(async () => {
140140 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -286,7 +286,7 @@ This method does not expect any arguments.
286286#### Usage
287287
288288``` javascript
289- import {emulator , init } from " flow-js-testing"
289+ import {emulator , init } from " @onflow/ flow-js-testing"
290290
291291describe (" test setup" , () => {
292292 // Instantiate emulator and path to Cadence files
@@ -322,7 +322,7 @@ Method does not return anything.
322322
323323``` javascript
324324import path from " path"
325- import {emulator , init } from " flow-js-testing"
325+ import {emulator , init } from " @onflow/ flow-js-testing"
326326
327327describe (" test setup" , () => {
328328 // Instantiate emulator and path to Cadence files
@@ -382,7 +382,7 @@ import {
382382 emulator ,
383383 getAccountAddress ,
384384 getFlowBalance ,
385- } from " flow-js-testing"
385+ } from " @onflow/ flow-js-testing"
386386
387387const main = async () => {
388388 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -488,7 +488,7 @@ Initializes framework variables.
488488
489489``` javascript
490490import path from " path"
491- import {init } from " flow-js-testing"
491+ import {init } from " @onflow/ flow-js-testing"
492492
493493describe (" test setup" , () => {
494494 beforeEach (async () => {
@@ -511,13 +511,13 @@ Returns current block offset - amount of blocks added on top of real current blo
511511
512512| Type | Description |
513513| ------ | ----------------------------------------------------------------------- |
514- | number | number representing amount of blocks added on top of real current block |
514+ | string | number representing amount of blocks added on top of real current block (encoded as string) |
515515
516516#### Usage
517517
518518``` javascript
519519import path from " path"
520- import {init , emulator , getBlockOffset } from " flow-js-testing"
520+ import {init , emulator , getBlockOffset } from " @onflow/ flow-js-testing"
521521
522522const main = async () => {
523523 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -564,7 +564,7 @@ import {
564564 setBlockOffset ,
565565 builtInMethods ,
566566 sendTransaction ,
567- } from " flow-js-testing"
567+ } from " @onflow/ flow-js-testing"
568568
569569const main = async () => {
570570 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -611,7 +611,7 @@ Returns current timestamp offset - amount of seconds added on top of real curren
611611
612612``` javascript
613613import path from " path"
614- import {init , emulator , getTimestampOffset } from " flow-js-testing"
614+ import {init , emulator , getTimestampOffset } from " @onflow/ flow-js-testing"
615615
616616const main = async () => {
617617 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -658,7 +658,7 @@ import {
658658 setTimestampOffset ,
659659 builtInMethods ,
660660 sendTransaction ,
661- } from " flow-js-testing"
661+ } from " @onflow/ flow-js-testing"
662662
663663const main = async () => {
664664 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -932,7 +932,7 @@ Provides explicit control over how you pass values.
932932
933933``` javascript
934934import path from " path"
935- import {init , emulator , executeScript } from " flow-js-testing"
935+ import {init , emulator , executeScript } from " @onflow/ flow-js-testing"
936936
937937const main = async () => {
938938 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -984,7 +984,7 @@ Cadence files.
984984
985985``` javascript
986986import path from " path"
987- import {init , emulator , executeScript } from " flow-js-testing"
987+ import {init , emulator , executeScript } from " @onflow/ flow-js-testing"
988988
989989const main = async () => {
990990 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -1055,7 +1055,7 @@ import {
10551055 emulator ,
10561056 sendTransaction ,
10571057 getAccountAddress ,
1058- } from " flow-js-testing"
1058+ } from " @onflow/ flow-js-testing"
10591059
10601060const main = async () => {
10611061 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -1108,7 +1108,7 @@ Cadence files.
11081108
11091109``` javascript
11101110import path from " path"
1111- import {init , emulator , sendTransaction } from " flow-js-testing"
1111+ import {init , emulator , sendTransaction } from " @onflow/ flow-js-testing"
11121112
11131113const main = async () => {
11141114 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -1158,7 +1158,7 @@ Returns Cadence template as string with addresses replaced using addressMap
11581158
11591159``` javascript
11601160import path from " path"
1161- import {init , getTemplate } from " flow-js-testing"
1161+ import {init , getTemplate } from " @onflow/ flow-js-testing"
11621162
11631163const main = async () => {
11641164 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -1192,7 +1192,7 @@ Returns Cadence template from file with `name` in `_basepath_/contracts` folder
11921192
11931193``` javascript
11941194import path from " path"
1195- import {init , emulator , getContractCode } from " flow-js-testing"
1195+ import {init , emulator , getContractCode } from " @onflow/ flow-js-testing"
11961196
11971197const main = async () => {
11981198 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -1237,7 +1237,7 @@ Returns Cadence template from file with `name` in `_basepath_/transactions` fold
12371237
12381238``` javascript
12391239import path from " path"
1240- import {init , emulator , getTransactionCode } from " flow-js-testing"
1240+ import {init , emulator , getTransactionCode } from " @onflow/ flow-js-testing"
12411241
12421242const main = async () => {
12431243 const basePath = path .resolve (__dirname , " ../cadence" )
@@ -1283,7 +1283,7 @@ Returns Cadence template from file with `name` in `_basepath_/scripts` folder
12831283
12841284``` javascript
12851285import path from " path"
1286- import {init , emulator , getScriptCode } from " flow-js-testing"
1286+ import {init , emulator , getScriptCode } from " @onflow/ flow-js-testing"
12871287
12881288const main = async () => {
12891289 const basePath = path .resolve (__dirname , " ../cadence" )
0 commit comments