test: move the tzdb version test into tests/ so npm test runs it

This commit is contained in:
dualfroz committed 2026-10-16 09:04:30 +02:00
1 parent 27503a50da
commit 297f022747
1 file changed
+2 -2
@@ -1,6 +1,6 @@
import test from 'tape'
import spacetime from './lib/index.js'
import { tzdbVersion } from '../zonefile/iana.js'
import spacetime from '../_lib/index.js'
import { tzdbVersion } from '../../zonefile/iana.js'
test('tzdb version', (t) => {
t.ok(/^\d{4}[a-z]+$/.test(spacetime.tzdbVersion), `looks like '2026c'`)