From d9f3f92b21e402bffd47b813be10df21778c39aa Mon Sep 17 00:00:00 2001 From: Alan Gutierrez Date: Sat, 16 Oct 2021 04:21:46 -0500 Subject: [PATCH] Export object with `Trampoline` property. --- reciprocate.js | 2 +- test/reciprocate.t.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reciprocate.js b/reciprocate.js index a367650..710f7b4 100644 --- a/reciprocate.js +++ b/reciprocate.js @@ -108,4 +108,4 @@ class Trampoline { } } -module.exports = Trampoline +exports.Trampoline = Trampoline diff --git a/test/reciprocate.t.js b/test/reciprocate.t.js index c4a2768..56d1f0d 100644 --- a/test/reciprocate.t.js +++ b/test/reciprocate.t.js @@ -1,5 +1,5 @@ require('proof')(10, async okay => { - const Trampoline = require('..') + const { Trampoline } = require('..') const trampoline = new Trampoline const test = []