Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 1.21 KB

factable-ui-usage.md

File metadata and controls

34 lines (30 loc) · 1.21 KB

Factable UI Usage

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Step 7

Step 8

Step 9

Step 10

This is should create this test file:

const { someFancyFunc } = require("../../common");

describe("someFancyFunc", () => {
  test("some case description", (done) => {
    const { foo, bar, dontshowthis } = {
      foo: "still",
      bar: "working",
      dontshowthis: false,
    };
    const second = "hello";
    const baz = "fine";
    const expectedOutput = "stillworkinghellofine";
    const output = someFancyFunc({ foo, bar, dontshowthis }, second)(baz);
    expect(output).toEqual(expectedOutput);
    done();
  });
});