UNPKG

fulky

Version:

[![npm](https://img.shields.io/npm/v/fulky.svg)](https://www.npmjs.com/package/fulky) [![License](https://img.shields.io/npm/l/fulky.svg)](LICENSE) [![Build Status](https://travis-ci.org/astorije/fulky.svg?branch=master)](https://travis-ci.org/astorije/fu

17 lines (13 loc) 377 B
# Using `define` and `use` The first one declares a named example using `define` and the second one makes use of it with `use`. Both will be run separately by test runners. <!-- fulky:define my-saved-example --> ```js const assert = require('assert'); const count = 42; assert.equal(count, 42); ``` <!-- fulky:use my-saved-example --> ```js assert.equal(count + 1, 43); ```