From ef8acc5d50fa3c23bd7c9d4bb720b7ff78581981 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 19 Aug 2023 14:13:31 -0300 Subject: clean up imports & miscellaneous metastructures across codebase --- test/unit/data/things/cacheable-object.js | 2 +- test/unit/data/things/track.js | 3 +-- test/unit/data/things/validators.js | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'test/unit/data') diff --git a/test/unit/data/things/cacheable-object.js b/test/unit/data/things/cacheable-object.js index d7a88ce7..2e82af08 100644 --- a/test/unit/data/things/cacheable-object.js +++ b/test/unit/data/things/cacheable-object.js @@ -1,6 +1,6 @@ import t from 'tap'; -import CacheableObject from '../../../../src/data/things/cacheable-object.js'; +import {CacheableObject} from '#things'; function newCacheableObject(PD) { return new (class extends CacheableObject { diff --git a/test/unit/data/things/track.js b/test/unit/data/things/track.js index 0dad0e62..383e3e3f 100644 --- a/test/unit/data/things/track.js +++ b/test/unit/data/things/track.js @@ -1,6 +1,5 @@ import t from 'tap'; - -import thingConstructors from '../../../../src/data/things/index.js'; +import thingConstructors from '#things'; const { Album, diff --git a/test/unit/data/things/validators.js b/test/unit/data/things/validators.js index 53cba063..bb33bf86 100644 --- a/test/unit/data/things/validators.js +++ b/test/unit/data/things/validators.js @@ -1,5 +1,5 @@ import t from 'tap'; -import { showAggregate } from '../../../../src/util/sugar.js'; +import {showAggregate} from '#sugar'; import { // Basic types @@ -31,7 +31,7 @@ import { // Compositional utilities oneOf, -} from '../../../../src/data/things/validators.js'; +} from '#validators'; function test(t, msg, fn) { t.test(msg, t => { -- cgit 1.3.0-6-gf8a5