UNPKG

loader.io.api

Version:

loader.io api wrapper for nodejs. If you interested in this npm package, take a look at the npm package [perst](https://dasred.github.io/perst).

12 lines (9 loc) 288 B
import Endpoint from '../Endpoint.js'; import Client from '../Client.js'; describe('Endpoint', () => { test('.constructor()', () => { const client = new Client('narf'); const endpoint = new Endpoint(client); expect(endpoint.client).toBe(client); }); });