From b5e4efc554af05e57770a84eb4991aea43697150 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 21 Mar 2023 17:36:04 -0300 Subject: fix tests not targeting right module paths --- test/things.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/things.js') diff --git a/test/things.js b/test/things.js index 0d74b60d..fe6e33e0 100644 --- a/test/things.js +++ b/test/things.js @@ -1,11 +1,13 @@ import test from 'tape'; -import { +import thingConstructors from '../src/data/things/index.js'; + +const { Album, Thing, Track, TrackGroup, -} from '../src/data/things.js'; +} = thingConstructors; function stubAlbum(tracks) { const album = new Album(); -- cgit 1.3.0-6-gf8a5