diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-19 14:13:31 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-19 14:13:31 -0300 |
commit | ef8acc5d50fa3c23bd7c9d4bb720b7ff78581981 (patch) | |
tree | 6c061e3771cb47619ce9163b559053504a000641 /test/unit/data | |
parent | 37ef3f288fce9bd65a2cd86107239e22f977e78d (diff) |
clean up imports & miscellaneous metastructures across codebase
Diffstat (limited to 'test/unit/data')
-rw-r--r-- | test/unit/data/things/cacheable-object.js | 2 | ||||
-rw-r--r-- | test/unit/data/things/track.js | 3 | ||||
-rw-r--r-- | test/unit/data/things/validators.js | 4 |
3 files changed, 4 insertions, 5 deletions
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 => { |