feat!: Allow accounts to be passed to runner functions#10
Merged
Conversation
fcc1088 to
a56b1b0
Compare
8e62255 to
7a0d67d
Compare
also: * pass `root` account as well * rename SANDBOX_DEBUG to NEAR_RUNNER_DEBUG
7a0d67d to
8776d89
Compare
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes: #9