-
Notifications
You must be signed in to change notification settings - Fork 32
Comparing changes
Open a pull request
base repository: onflow/flow-js-testing
base: v0.1.2
head repository: onflow/flow-js-testing
compare: master
Commits on Jan 5, 2021
-
* Update contract deployment scripts * Bump version number to current one
Maksim Daunarovich authoredJan 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 4f4382e - Browse repository at this point
Copy the full SHA 4f4382eView commit details
Commits on Feb 1, 2021
-
Fix FlowManager contract and implement suggestion (#11)
* Update path types * Remove unused force operator
Maksim Daunarovich authoredFeb 1, 2021 Configuration menu - View commit details
-
Copy full SHA for f79656c - Browse repository at this point
Copy the full SHA f79656cView commit details
Commits on Feb 2, 2021
-
Deploy contract arguments (#14)
* Refactor mapArgs. Export unwrap * Update contract deploying transaction template * Add args option to contract deployment methods * Remove console.log. Replace markers if no args are specified * Remove unused import
Maksim Daunarovich authoredFeb 2, 2021 Configuration menu - View commit details
-
Copy full SHA for f6e7fe3 - Browse repository at this point
Copy the full SHA f6e7fe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 450e2cd - Browse repository at this point
Copy the full SHA 450e2cdView commit details
Commits on Apr 26, 2021
-
Update code to work with latest flow.json schema (#16)
* Refactor string generation. Add exports. * Use updated path for service account private key * Refactor initManager to use new contract. Update contract. Add manager account checker script. * Add update field to deployContractByName and deployContract to update existing contract * Update transaction for code deployment * Unify import address to a generic one * Update dependencies * Add new line at eof * Bump version * Prettify * Adjust exports * Add documentation for methods * Refactor link variables * Rename account module * Update README * Add more methods and usage examples. * Pass default value * Add instructions for basic test environment setup * Update lock file
Maksim Daunarovich authoredApr 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 61dffa9 - Browse repository at this point
Copy the full SHA 61dffa9View commit details
Commits on May 3, 2021
-
Quickfix imports and version bump (#18)
* Bump version to include built files and Cadence templates * Fix import. Bump version
Maksim Daunarovich authoredMay 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 0c97ca1 - Browse repository at this point
Copy the full SHA 0c97ca1View commit details -
* Update README * Update code template getters
Maksim Daunarovich authoredMay 3, 2021 Configuration menu - View commit details
-
Copy full SHA for f3bde6f - Browse repository at this point
Copy the full SHA f3bde6fView commit details
Commits on May 20, 2021
-
* Update documentation * Fix wording * Support local imports (#22) * Create tests for import replacer * Add jest packages. Bump version with beta release * Update regexp to include local paths
Maksim Daunarovich authoredMay 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 9f300e7 - Browse repository at this point
Copy the full SHA 9f300e7View commit details
Commits on May 21, 2021
-
* Add basic webpack config * Install necessary packages * Update config * Update @onflow packages * Commit lock file * Replace Babel and Webpack with microbundle * Add jest config for eslint * Create shell script to copy cadence files to distribution * Update scripts * Create publish workflow
Maksim Daunarovich authoredMay 21, 2021 Configuration menu - View commit details
-
Copy full SHA for 26cc6d4 - Browse repository at this point
Copy the full SHA 26cc6d4View commit details -
Promisify emulator process (#26)
* Promisify emulator * Remove console.log * Allow to specify emulator ports * Directly set access api port * Add Prettier config * Add jest refactor package.json * Add docstrings to emulator methods * Add Jest assertion methods * Export new modules. Prettify. * Set es6 flag to true * Update files with missing headers * Fix eslint config * Add prettify script. Update lock file * Specify config for Prettier * Update documentation * Update prettier config * Update documentation * Bump version
Maksim Daunarovich authoredMay 21, 2021 Configuration menu - View commit details
-
Copy full SHA for 672807c - Browse repository at this point
Copy the full SHA 672807cView commit details
Commits on May 22, 2021
-
* Update publish.yml Change release type to trigger workflow * Add manual run hook. Add comments
Maksim Daunarovich authoredMay 22, 2021 Configuration menu - View commit details
-
Copy full SHA for d0b5059 - Browse repository at this point
Copy the full SHA d0b5059View commit details
Commits on May 23, 2021
-
Add test script. Sort scripts alphabetically (#28)
Maksim Daunarovich authoredMay 23, 2021 Configuration menu - View commit details
-
Copy full SHA for ec0f3f3 - Browse repository at this point
Copy the full SHA ec0f3f3View commit details
Commits on Jun 7, 2021
-
* Update publish.yml * Update token name. Create .npmrc file * Remove publish script * Set token with npm set. Remove npmrc file * Move Cadence templates to a single folder * Simplify copy script * Move src files out of utils into src * Bump version to alpha * Scaffold test for loading service templates * Move Cadence files out of src folder * Mark signers as optionals * Remove redundant code * Pull in generated code * Refactor code with use of template utilities * Add integration tests for development * Update packages. Remove SDK dependency * Refactor methods with use of generated templates. Replace sdk bindings with fcl * Commit working generated code * Add test to ensure templates are working * Fix authorization function * Update usage test * Restore emulator usage * Update jest asserts. Add tests * Fix FlowToken templates * Remove console call * Update version. Bump jest version. Set test environment * Use flow-cadut. Remove local package dependency * Update imports * Update publish * Add tests to ci workflow * Exclude dev-test folder from running in CI/CD environment * Remove unnecessary shell script * Remove unused method getSeqNum * Clean up FlowManager generated code * Update script to exclude generated folder * Move prettier config to package.json. Add prettierignore * Regenerate code * Prettify * Update Prettier config * Add check-headers script * Add rejects and resolve * Add interaction updates tests * Update usage tests * Replace reject with resolve * Remove service flag parameter * Export shallThrow * Simplify interactions and allow multiple signatures * Update publish script * Update dev-test/usage.test.js Co-authored-by: Mackenzie <remember.mackenzie@gmail.com> * Update dev-test/usage.test.js Co-authored-by: Mackenzie <remember.mackenzie@gmail.com> * Update src/generated/contracts/FlowManager.js Co-authored-by: Mackenzie <remember.mackenzie@gmail.com> * Update src/generated/scripts/checkManager.js Co-authored-by: Mackenzie <remember.mackenzie@gmail.com> Co-authored-by: Mackenzie <remember.mackenzie@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2921e88 - Browse repository at this point
Copy the full SHA 2921e88View commit details
Commits on Jun 8, 2021
-
Fix import in basic example (#31)
dimes authoredJun 8, 2021 Configuration menu - View commit details
-
Copy full SHA for 569f63e - Browse repository at this point
Copy the full SHA 569f63eView commit details
Commits on Jun 15, 2021
-
Add automatic resolvers for imports and arguments (#33)
* Prettify * Add auto resolver for arguments * Update flow-cadut version * Remove console.log. Add new tests for arguments * Bump version * Add tests around import resolver * Export resolveImports method * Implement resolveImports method * Use babel-jest for tests * Update interactions to use importResolver * Pass service tag to prevent infinite loop * Refactor code around service interactions * Exclude dev tests * Deploy to service account by default * Update import test and assertions * Remove unused import * Add new line at the eof * Bring back slash * Export getServiceAddress method from index. * Prettify * Fix docstrings for resolveImports method
Maksim Daunarovich authoredJun 15, 2021 Configuration menu - View commit details
-
Copy full SHA for 072dc23 - Browse repository at this point
Copy the full SHA 072dc23View commit details
Commits on Jun 24, 2021
-
Fix double publish issue with workflow (#36)
Maksim Daunarovich authoredJun 24, 2021 Configuration menu - View commit details
-
Copy full SHA for 15cec5c - Browse repository at this point
Copy the full SHA 15cec5cView commit details
Commits on Jul 20, 2021
-
Quickfix/config path update (#42)
* Fix flow.json path to private key on service account * Bump version * Refactor init usage with new props * Update flow.json file * Ensure that fallback value is used * Pass additional values as object
Maksim Daunarovich authoredJul 20, 2021 Configuration menu - View commit details
-
Copy full SHA for a90459d - Browse repository at this point
Copy the full SHA a90459dView commit details
Commits on Aug 5, 2021
-
Update flow-cadut dependency. Introduce bootstrap utility (#46)
* Create metadata tests * Update flow-cadut version. Fix jest config * Fix logging for emulator exit * Disable logging in tests * Prettify * Setup bin field. Add Prettier config. Install yargs package * Setup bin executable * Create templates, commands and CLI processor * Add make command * Refactor imports * Bump version * CHANGELOG added * Add flag to make command to specify base path * Create documentation for bootstrap utility * Set jest matcher * Remove prettier duplicate * Update fcl dependency * Add more templates for dev tests * Add proposed changes * Destructure arguments in short notation based on interaction type * Update dev tests * Bump @onflow/types * Prettify * Move isObject to utils module * Refactor deployByName to allow short notation * Add dev tests for deployment methods * Add header * Prettify * Refactor prefix
Maksim Daunarovich authoredAug 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 1e35afb - Browse repository at this point
Copy the full SHA 1e35afbView commit details
Commits on Sep 8, 2021
-
* Move old docs out * Add README for docs contributors * Add installation instructions * Add init section * Add index page * Add structure section * Add templates section * Add FLOW section * Add emulator section * Add contracts section * Add accounts section * Scaffold interaction sections * Add test for simple script execution * Update jsdoc for name field * Add documentation for executeScript * Add examples section * Add jest helpers * Describe sendTransaction method * Add more "padding" text to index page * Update executeScript section * Remove old documentation * proposed formatting * Update documentation with new formatting * More changes and editing * Create API reference page. Update init page * Fix pkey field * Update api * Update documentation according to changes. Add emulator.setLogging description * Add proposed changes. Add return types * Fix links to used types * Fix array notion * Remove "done" callback from before/afterEach Co-authored-by: srinjoyc <srinjoy@live.ca>
Configuration menu - View commit details
-
Copy full SHA for 0b920c8 - Browse repository at this point
Copy the full SHA 0b920c8View commit details -
* Update README.md * Add files via upload * Update README.md
Configuration menu - View commit details
-
Copy full SHA for 7d70b70 - Browse repository at this point
Copy the full SHA 7d70b70View commit details
Commits on Oct 8, 2021
-
* Implement transformers * Add transformer for Playground * Create TestUtilities contract * Add scripts and transactions for TestUtilities * Add tests for TestUtilities * Temporarily enable dev-tests * Update path resolvers to use enable complex configs * Add future code for removing hacky solution with import * Update config for base path * Drop type * Update tests * Uncomment line * Update NOTICE * Move testing utilities into FlowManager * Remove TestUtilities * Add interactions for block offset * Remove dangerous rm -rf call * Update package.lock * Add utilities tests * Add transformers for interactions * Add transformers code * Regenerate code * Use AuthAccount * Update utilities tests * Update blockHeight related code and tests * Brush up dev tests * Refactor playground transformer * Refactor emulator * More tests around transformers * Update year. Remove unused import * Provide public method to resolve alias to address * Regenerate code * Update transformers and FlowManager to allow passing arguments instead of hardcoded values * Refactor and clean the code * Add new line at eof * Remove dev tests * Add new line at eof * Fix package.json * Update exports * Remove unused import * Fix test * Regenerate code * Export blockOffset related methods from generated code * Update header with new year range * Update tests to use generated method for controlling blockOffset * Add documentation for blockOffset methods. Update executeScript and sendTransaction signatures. Add CadenceTransformer type * Fix templates * Bump flow-cadut version. Bump package version * Update docs with new links. Update code examples in API section * Create runnable code * Add example runner * Update examples in API documentation * Create runnable examples * Update deploy code logic * Prettify * Update cadut package * Update runner to include list of examples and allow to run by number * Add more examples * Update typo in documentation * Get title from filename * Update cadut package * Refactor * Update code for getBlockOffset and setBlockOffset methods * Add more functionality to emulator * Refactor block offset example * Update emulator management example * Add manager tests for block offset * Fix exports for block offset methods * Add test for emulator processing * Refactor methods for data parsing * Add array of dictionaries example * Default logging to false * Enable dev-test temporarly * Add example to pass array of dictionaries * Update cadut dependency * Fix complex arg example * Update example regexp * Provide more examples * Update example code in API reference * Update flow-cadut package * Prettify * Use new version of flow-cadut * Update array value * Fix flow-cadut imports
Maksim Daunarovich authoredOct 8, 2021 Configuration menu - View commit details
-
Copy full SHA for 1ccf76e - Browse repository at this point
Copy the full SHA 1ccf76eView commit details
Commits on Nov 3, 2021
-
Update Cadut and Transformers (#58)
* Implement transformers * Add transformer for Playground * Create TestUtilities contract * Add scripts and transactions for TestUtilities * Add tests for TestUtilities * Temporarily enable dev-tests * Update path resolvers to use enable complex configs * Add future code for removing hacky solution with import * Update config for base path * Drop type * Update tests * Uncomment line * Update NOTICE * Move testing utilities into FlowManager * Remove TestUtilities * Add interactions for block offset * Remove dangerous rm -rf call * Update package.lock * Add utilities tests * Add transformers for interactions * Add transformers code * Regenerate code * Use AuthAccount * Update utilities tests * Update blockHeight related code and tests * Brush up dev tests * Refactor playground transformer * Refactor emulator * More tests around transformers * Update year. Remove unused import * Provide public method to resolve alias to address * Regenerate code * Update transformers and FlowManager to allow passing arguments instead of hardcoded values * Refactor and clean the code * Add new line at eof * Remove dev tests * Add new line at eof * Fix package.json * Update exports * Remove unused import * Fix test * Regenerate code * Export blockOffset related methods from generated code * Update header with new year range * Update tests to use generated method for controlling blockOffset * Add documentation for blockOffset methods. Update executeScript and sendTransaction signatures. Add CadenceTransformer type * Fix templates * Bump flow-cadut version. Bump package version * Update docs with new links. Update code examples in API section * Create runnable code * Add example runner * Update examples in API documentation * Create runnable examples * Update deploy code logic * Prettify * Update cadut package * Update runner to include list of examples and allow to run by number * Add more examples * Update typo in documentation * Get title from filename * Update cadut package * Refactor * Update code for getBlockOffset and setBlockOffset methods * Add more functionality to emulator * Refactor block offset example * Update emulator management example * Add manager tests for block offset * Fix exports for block offset methods * Add test for emulator processing * Refactor methods for data parsing * Add array of dictionaries example * Default logging to false * Enable dev-test temporarly * Add example to pass array of dictionaries * Update cadut dependency * Fix complex arg example * Update example regexp * Provide more examples * Update example code in API reference * Update flow-cadut package * Prettify * Use new version of flow-cadut * Update array value * Fix flow-cadut imports * Update CHANGELOG * Update cadut package and use proper imports * Update cadut package and tests. * Create alpha release. Remove dev tests * Fix jest config template * Update flow-cadut package. Run audit fix * Bump cadut version * Allow to specify execution limit * Bump version * Update changelog * Fix interactions * Update cadut package * Bump version to release * Update package lock * Add new line at eof. Fix port numbers
Maksim Daunarovich authoredNov 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 68e8399 - Browse repository at this point
Copy the full SHA 68e8399View commit details
Commits on Nov 21, 2021
-
Update packages to newer versions (#60)
* Bump cadut version * Remove imports * Fix argument resolver condition * Add test for empty array * Use flow-cadut * Bump flow-cadut package * Clear second transaction * Bump flow-cadut version * Bump packages to latest versions
Maksim Daunarovich authoredNov 21, 2021 Configuration menu - View commit details
-
Copy full SHA for fbe8432 - Browse repository at this point
Copy the full SHA fbe8432View commit details
Commits on Dec 8, 2021
-
* Code submission for FLIP fest 'JS Testing Feature: Multiple return values from interaction 30' (#57) * squash merge of TeamExponential work for flip 30 * add fixes to final submission requested by Max * add remaining fixes for Max feedback * get basic fixes done requested by Max * update all usage of args for sendTransaction to allow flow-cadut to to resolve types * update all points where executeScript is used to make sure args used correctly, allowing flow-cadut to resolve * remove fcl/types * revert package-lock.json to master plus package.json changes after running `npm install` * revert ports in tests back to 8080, remove testMatch for 'dev-test' in package.json * squash merge of latest changes per Max feedback * make package.json flow-cadut match recent release from Max * revert package-lock.json to master verion * update version in package.json to match Max release, run npm install to update package-lock * ran npm install * squash merge latest updates/fixes * replace package-lock.json * revert package-lock.json * remove try catch from tests * remove onflow/types * remove space * prettify * update cadut to release version * add fix to generated code to mitigate error running tests * ran prettify * re-add 'limit' prop and usage in interaction.js Co-authored-by: justjoolz <justjoolz@gmail.com> Co-authored-by: Maksim Daunarovich <max.daunarovich@dapperlabs.com> * Bump version to next major release * Add release notes with breaking changes. Co-authored-by: Matt Chana <8943047+hichana@users.noreply.github.com> Co-authored-by: justjoolz <justjoolz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f19756f - Browse repository at this point
Copy the full SHA f19756fView commit details
Commits on Dec 9, 2021
-
Fix getContractAddress method (#66)
* Add test to check contract value after deployment * Use tuple for executeScript result * Fix interaction test * Bump version
Maksim Daunarovich authoredDec 9, 2021 Configuration menu - View commit details
-
Copy full SHA for 4639dfb - Browse repository at this point
Copy the full SHA 4639dfbView commit details
Commits on Dec 16, 2021
-
* fix links use relative links whenever possible (instead of using docs.onflow.org) * Update templates.md * Update templates.md * test index.md page * contracts -> contracts.md Co-authored-by: Mackenzie <remember.mackenzie@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9a8b5ac - Browse repository at this point
Copy the full SHA 9a8b5acView commit details
Commits on Dec 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c8fad25 - Browse repository at this point
Copy the full SHA c8fad25View commit details
Commits on Jan 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3aeb4f1 - Browse repository at this point
Copy the full SHA 3aeb4f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea6adb - Browse repository at this point
Copy the full SHA 8ea6adbView commit details
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 367605e - Browse repository at this point
Copy the full SHA 367605eView commit details
Commits on Jan 20, 2022
-
Remove emulator console logs (#78)
* Remove emulator console logs * Update emulator.js
Configuration menu - View commit details
-
Copy full SHA for f3d43cd - Browse repository at this point
Copy the full SHA f3d43cdView commit details
Commits on Feb 10, 2022
-
* Update emulator flags * Update emulator process * Update package.lock * Refactor emulator code around logging logic * Update examples * Remove dev-test from package.json * Fix result treatment in examples * Prettify * Fix tests * Bump version * Reset polling interval * Update Jest asserts * Bump alpha version * Remove unused comment
Configuration menu - View commit details
-
Copy full SHA for 12b3f59 - Browse repository at this point
Copy the full SHA 12b3f59View commit details
Commits on Apr 25, 2022
-
There was a typo with the import statement in the example code. Code imported flow-js-testing functions from "flow-js-testing".
Configuration menu - View commit details
-
Copy full SHA for 433abde - Browse repository at this point
Copy the full SHA 433abdeView commit details
Commits on May 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 80bba53 - Browse repository at this point
Copy the full SHA 80bba53View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e5acc - Browse repository at this point
Copy the full SHA c9e5accView commit details
Commits on Jun 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a9074ab - Browse repository at this point
Copy the full SHA a9074abView commit details
Commits on Jun 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 381f5ea - Browse repository at this point
Copy the full SHA 381f5eaView commit details
Commits on Jun 21, 2022
-
* Update emulator flags * Update emulator process * Refactor emulator code around logging logic * Remove dev-test from package.json * Fix tests * Bump version * Reset polling interval * Bump alpha version * Remove unused comment * Update event name * Fix filters * Bump alpha version * Add path tests * Add the ability to automatically resolve import addresses, when deploying contracts * refactor jest asserts * Bump alpha version * Throw error if transaction is not properly executed * Add automatic resolver for contract name * refactor * Fix deployment tests * Fix removeFilter method * Revert changes for AccountAdded event * Add access node config to emulator. Refactor "start" method props. * Refactor accessNode port on init method * Update tests * Update package.json * Update package lock * Fix shallResolve assert * Fix linter error * Prettify * Bump version to release * Switch version to alpha.6 * Update cadut to latest stable * Fix emulator logging * Update logging management * Add check for nested contracts * Update dev tests for nested contracts * Fix regexp to comply with eslint
Configuration menu - View commit details
-
Copy full SHA for d95d5b6 - Browse repository at this point
Copy the full SHA d95d5b6View commit details
Commits on Jun 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5791e66 - Browse repository at this point
Copy the full SHA 5791e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for b99b5bd - Browse repository at this point
Copy the full SHA b99b5bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e8570 - Browse repository at this point
Copy the full SHA 51e8570View commit details
Commits on Jun 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 082ca9e - Browse repository at this point
Copy the full SHA 082ca9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a2165 - Browse repository at this point
Copy the full SHA 48a2165View commit details
Commits on Jun 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0ba5c33 - Browse repository at this point
Copy the full SHA 0ba5c33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9fda0 - Browse repository at this point
Copy the full SHA 2e9fda0View commit details
Commits on Jun 30, 2022
-
Dynamically select emulator ports from machine instead of static port…
…s specified by user or defaults (#117)
Configuration menu - View commit details
-
Copy full SHA for 033562b - Browse repository at this point
Copy the full SHA 033562bView commit details
Commits on Jul 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2f517e1 - Browse repository at this point
Copy the full SHA 2f517e1View commit details
Commits on Jul 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ba2de53 - Browse repository at this point
Copy the full SHA ba2de53View commit details
Commits on Jul 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 78944c1 - Browse repository at this point
Copy the full SHA 78944c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2a8574 - Browse repository at this point
Copy the full SHA a2a8574View commit details
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.