mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
11 lines
431 B
JavaScript
11 lines
431 B
JavaScript
import test from 'node:test';
|
|
import assert from 'node:assert/strict';
|
|
import { isOverBudget, normalizeBudget, utcDayKey } from './tileBudget.js';
|
|
import * as tomtom from './tomtomTiles.js';
|
|
|
|
test('tile budget helpers live in one module and TomTom re-exports them', () => {
|
|
assert.equal(tomtom.utcDayKey, utcDayKey);
|
|
assert.equal(tomtom.normalizeBudget, normalizeBudget);
|
|
assert.equal(tomtom.isOverBudget, isOverBudget);
|
|
});
|