From ef8acc5d50fa3c23bd7c9d4bb720b7ff78581981 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 19 Aug 2023 14:13:31 -0300 Subject: clean up imports & miscellaneous metastructures across codebase --- test/lib/content-function.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'test/lib/content-function.js') diff --git a/test/lib/content-function.js b/test/lib/content-function.js index a9e5f449..bb12be82 100644 --- a/test/lib/content-function.js +++ b/test/lib/content-function.js @@ -1,17 +1,17 @@ +import * as path from 'node:path'; +import {fileURLToPath} from 'node:url'; + import chroma from 'chroma-js'; -import * as path from 'path'; -import {fileURLToPath} from 'url'; + +import {getColors} from '#colors'; +import {quickLoadContentDependencies} from '#content-dependencies'; +import {quickEvaluate} from '#content-function'; +import * as html from '#html'; +import {processLanguageFile} from '#language'; +import {empty, showAggregate} from '#sugar'; +import {generateURLs, thumb, urlSpec} from '#urls'; import mock from './generic-mock.js'; -import {quickEvaluate} from '../../src/content-function.js'; -import {quickLoadContentDependencies} from '../../src/content/dependencies/index.js'; - -import urlSpec from '../../src/url-spec.js'; -import * as html from '../../src/util/html.js'; -import {empty, showAggregate} from '../../src/util/sugar.js'; -import {getColors} from '../../src/util/colors.js'; -import {generateURLs, thumb} from '../../src/util/urls.js'; -import {processLanguageFile} from '../../src/data/language.js'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); -- cgit 1.3.0-6-gf8a5