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:
"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.
"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.
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:
Other updates that snuck in here:
path.join
instead of stringsruntime
, preferroot
(see https://github.com/near/runner-js/pull/29)runtime.getAccount
in this Quick Start; see https://github.com/near/runner-js/pull/10)toJSON
override (see https://github.com/near/runner-js/pull/37)