Skip to content

feat!: Allow accounts to be passed to runner functions#10

Merged
chadoh merged 1 commit intomainfrom
feat/pass_accounts
Aug 11, 2021
Merged

feat!: Allow accounts to be passed to runner functions#10
chadoh merged 1 commit intomainfrom
feat/pass_accounts

Conversation

@willemneal
Copy link
Contributor

fixes: #9

@chadoh chadoh force-pushed the feat/pass_accounts branch 2 times, most recently from fcc1088 to a56b1b0 Compare August 11, 2021 14:07
@chadoh chadoh marked this pull request as ready for review August 11, 2021 14:07
@chadoh chadoh force-pushed the feat/pass_accounts branch 4 times, most recently from 8e62255 to 7a0d67d Compare August 11, 2021 14:59
also:

* pass `root` account as well
* rename SANDBOX_DEBUG to NEAR_RUNNER_DEBUG
@chadoh chadoh force-pushed the feat/pass_accounts branch from 7a0d67d to 8776d89 Compare August 11, 2021 15:01
Copy link
Contributor

@chadoh chadoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😘 💋 😚

@chadoh chadoh merged commit f8e7c47 into main Aug 11, 2021
@chadoh chadoh deleted the feat/pass_accounts branch August 11, 2021 15:08
chadoh added a commit that referenced this pull request Aug 24, 2021
People new to JavaScript do not already know how to add a JavaScript
testing library/framework to their project. This separates the "Quick
Start" section of the README into two sections:

1. "Quick Start With Jest" explains that you don't _need_ to use Jest,
   but gets you up and running quickly with Jest for everyone who will
   find that helpful.
2. "How It Works" explains what near-runner does behind the scenes. The
   examples in this section use plain JS to help clarify the boundary
   between Jest and near-runner for people new to both.

Other updates that snuck in here:

* Use `path.join` instead of strings
* Update code styles to match current codebase (see #38)
* Get rid of `runtime`, prefer `root` (see #29)
* Remove references to obsolete lines (no more `runtime.getAccount` in this Quick Start; see #10)
* Mention the `toJSON` override (see #37)
chadoh added a commit that referenced this pull request Aug 24, 2021
* docs: add Quick Start With Jest

People new to JavaScript do not already know how to add a JavaScript
testing library/framework to their project. This separates the "Quick
Start" section of the README into two sections:

1. "Quick Start With Jest" explains that you don't _need_ to use Jest,
   but gets you up and running quickly with Jest for everyone who will
   find that helpful.
2. "How It Works" explains what near-runner does behind the scenes. The
   examples in this section use plain JS to help clarify the boundary
   between Jest and near-runner for people new to both.

Other updates that snuck in here:

* Use `path.join` instead of strings
* Update code styles to match current codebase (see #38)
* Get rid of `runtime`, prefer `root` (see #29)
* Remove references to obsolete lines (no more `runtime.getAccount` in this Quick Start; see #10)
* Mention the `toJSON` override (see #37)

Co-authored-by: Willem Wyndham <willem@cs.umd.edu>
cryptoforge318 pushed a commit to cryptoforge318/near-workspaces-js that referenced this pull request Jul 31, 2024
* docs: add Quick Start With Jest

People new to JavaScript do not already know how to add a JavaScript
testing library/framework to their project. This separates the "Quick
Start" section of the README into two sections:

1. "Quick Start With Jest" explains that you don't _need_ to use Jest,
   but gets you up and running quickly with Jest for everyone who will
   find that helpful.
2. "How It Works" explains what near-runner does behind the scenes. The
   examples in this section use plain JS to help clarify the boundary
   between Jest and near-runner for people new to both.

Other updates that snuck in here:

* Use `path.join` instead of strings
* Update code styles to match current codebase (see near/near-workspaces-js#38)
* Get rid of `runtime`, prefer `root` (see near/near-workspaces-js#29)
* Remove references to obsolete lines (no more `runtime.getAccount` in this Quick Start; see near/near-workspaces-js#10)
* Mention the `toJSON` override (see near/near-workspaces-js#37)

Co-authored-by: Willem Wyndham <willem@cs.umd.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Allow create function to return object with accounts created

2 participants