diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-01-10 22:29:18 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-01-10 22:29:18 -0400 |
commit | 11a6a76dc78aa6f30cc6860ba353ef68cf9e21c5 (patch) | |
tree | 457103f8cd08f3f41cd576ac1c384bf50b1140c1 /test/unit/data/things | |
parent | dff7dd72606338f2a29171a50d223ad6286b6e50 (diff) |
data, upd8: auto-provide boundFind on 'find' dependency
Diffstat (limited to 'test/unit/data/things')
-rw-r--r-- | test/unit/data/things/track.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/data/things/track.js b/test/unit/data/things/track.js index 983a5537..403dc064 100644 --- a/test/unit/data/things/track.js +++ b/test/unit/data/things/track.js @@ -1,5 +1,6 @@ import t from 'tap'; +import {bindFind} from '#find'; import thingConstructors from '#things'; import { @@ -662,13 +663,13 @@ t.test(`Track.otherReleases`, t => { `otherReleases #2: otherReleases of original release are its rereleases`); wikiData.trackData = [track1, track3, track2, track4]; - linkWikiDataArrays(); + linkWikiDataArrays({bindFind}); t.same(track1.otherReleases, [track3, track2, track4], `otherReleases #3: otherReleases matches trackData order`); wikiData.trackData = [track3, track2, track1, track4]; - linkWikiDataArrays(); + linkWikiDataArrays({bindFind}); t.same(track2.otherReleases, [track1, track3, track4], `otherReleases #4: otherReleases of rerelease are original track then other rereleases (1/3)`); |