Skip to content

Instantly share code, notes, and snippets.

View tolmasky's full-sized avatar

Francisco Ryan Tolmasky I tolmasky

View GitHub Profile

oh

  1. hey

two

  • # Cloning Notebooks

Hi.

[ ] ABC

<script>
      onEvaluate = jest.fn().mockName("onEvaluate");
  </script>
  <div>
       5 + 5
  </div>
expect(onEvaluate).toBe(6);
a
five

hello


a: 6

| Mode | parallel | ——————————————————-

+————-+————-+ | mode| Parallel | +————-+—————————+

1. Hi

2. Hi

Cloning Notebooks

On RunKit, user's can clone their own or other user's notebooks. A clone is an identical replica of the original notebook, but keeps track of its own evaluations and edits from then on. Clone can be created either through the two buttons on the user interface or through our APi using the special clone URL. We'll start by creating a test notebook on an anonymous account to be cloned by the rest of our tests:

const macros = require("runkit-testing-macros");

const skipped = await macros.register(page, { skip: true });
const notebook = await skipped.new();
const originalURL = await page.url();
First Header
Content from cell 1