diff options
| author | Bobby <[email protected]> | 2026-04-22 07:32:01 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-04-22 07:32:01 +0530 |
| commit | 9f807f7e2d2d3711e2ca90cb3984234eef832ad4 (patch) | |
| tree | 431fce4f1340b7e6b9dde252070850ce662d0b16 /tests | |
| parent | 176e6a175b48a110c97476707388af931f8f7a7a (diff) | |
| download | hollowdark-9f807f7e2d2d3711e2ca90cb3984234eef832ad4.tar.xz hollowdark-9f807f7e2d2d3711e2ca90cb3984234eef832ad4.zip | |
Switch cross-module imports to @hollowdark/* scoped alias
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/determinism/rng.test.ts | 2 | ||||
| -rw-r--r-- | tests/unit/persistence/schema.test.ts | 2 | ||||
| -rw-r--r-- | tests/unit/time/calendar.test.ts | 2 | ||||
| -rw-r--r-- | tests/unit/time/gameTime.test.ts | 2 | ||||
| -rw-r--r-- | tests/unit/time/granularity.test.ts | 2 | ||||
| -rw-r--r-- | tests/unit/utils/assert.test.ts | 2 | ||||
| -rw-r--r-- | tests/unit/utils/equal.test.ts | 2 | ||||
| -rw-r--r-- | tests/unit/utils/result.test.ts | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/tests/determinism/rng.test.ts b/tests/determinism/rng.test.ts index ee41716..91e720b 100644 --- a/tests/determinism/rng.test.ts +++ b/tests/determinism/rng.test.ts @@ -1,5 +1,5 @@ import { describe, expect, test } from 'vitest' -import { createRNG, deriveSeed, hashString } from 'rng' +import { createRNG, deriveSeed, hashString } from '@hollowdark/rng' describe('hashString', () => { test('is deterministic', () => { diff --git a/tests/unit/persistence/schema.test.ts b/tests/unit/persistence/schema.test.ts index 1c24388..a02802b 100644 --- a/tests/unit/persistence/schema.test.ts +++ b/tests/unit/persistence/schema.test.ts @@ -7,7 +7,7 @@ import { SCHEMA_VERSION, USER_DATA_DB_NAME, USER_DATA_SCHEMA_V1 -} from 'persistence' +} from '@hollowdark/persistence' /** * The Dexie schema is a versioned contract with on-device storage. Any diff --git a/tests/unit/time/calendar.test.ts b/tests/unit/time/calendar.test.ts index 1196972..ee8d789 100644 --- a/tests/unit/time/calendar.test.ts +++ b/tests/unit/time/calendar.test.ts @@ -8,7 +8,7 @@ import { isFestival, monthName, monthSeason -} from 'time/calendar' +} from '@hollowdark/time/calendar' describe('calendar constants', () => { test('year is 365 days', () => { diff --git a/tests/unit/time/gameTime.test.ts b/tests/unit/time/gameTime.test.ts index bcbbf46..ca6f4b1 100644 --- a/tests/unit/time/gameTime.test.ts +++ b/tests/unit/time/gameTime.test.ts @@ -15,7 +15,7 @@ import { makeGameTime, toAbsoluteDays, weeksBetween -} from 'time/gameTime' +} from '@hollowdark/time/gameTime' describe('makeGameTime validation', () => { test('valid regular-month time', () => { diff --git a/tests/unit/time/granularity.test.ts b/tests/unit/time/granularity.test.ts index ef22860..ce5142f 100644 --- a/tests/unit/time/granularity.test.ts +++ b/tests/unit/time/granularity.test.ts @@ -1,5 +1,5 @@ import { describe, expect, test } from 'vitest' -import { TICK_UNIT_BY_LIFE_STAGE, lifeStageForAge, tickUnitForAge } from 'time/granularity' +import { TICK_UNIT_BY_LIFE_STAGE, lifeStageForAge, tickUnitForAge } from '@hollowdark/time/granularity' describe('lifeStageForAge', () => { test('stage boundaries', () => { diff --git a/tests/unit/utils/assert.test.ts b/tests/unit/utils/assert.test.ts index c1fc02d..d0dbae6 100644 --- a/tests/unit/utils/assert.test.ts +++ b/tests/unit/utils/assert.test.ts @@ -1,5 +1,5 @@ import { describe, expect, test } from 'vitest' -import { assert, assertDefined, assertNever } from 'utils/assert' +import { assert, assertDefined, assertNever } from '@hollowdark/utils/assert' describe('assert', () => { test('passes on truthy condition', () => { diff --git a/tests/unit/utils/equal.test.ts b/tests/unit/utils/equal.test.ts index 8f07996..760262e 100644 --- a/tests/unit/utils/equal.test.ts +++ b/tests/unit/utils/equal.test.ts @@ -1,5 +1,5 @@ import { describe, expect, test } from 'vitest' -import { deepEqual } from 'utils/equal' +import { deepEqual } from '@hollowdark/utils/equal' describe('deepEqual — primitives', () => { test('identical primitives', () => { diff --git a/tests/unit/utils/result.test.ts b/tests/unit/utils/result.test.ts index ef33e74..abfcac9 100644 --- a/tests/unit/utils/result.test.ts +++ b/tests/unit/utils/result.test.ts @@ -9,7 +9,7 @@ import { unwrap, unwrapOr, type Result -} from 'utils/result' +} from '@hollowdark/utils/result' describe('Result constructors and predicates', () => { test('ok wraps a value', () => { |
