From 4f6dcf3d15664e147813e2678cf5f7d55e61fcf6 Mon Sep 17 00:00:00 2001 From: Ladd Date: Wed, 25 Dec 2024 19:32:02 -0600 Subject: [PATCH] move util back out of test dir --- __tests__/run/001-single-node.ts | 2 +- __tests__/run/002-two-nodes.ts | 2 +- {__tests__/util => util}/app.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename {__tests__/util => util}/app.ts (85%) diff --git a/__tests__/run/001-single-node.ts b/__tests__/run/001-single-node.ts index 2398f25..3310f9b 100644 --- a/__tests__/run/001-single-node.ts +++ b/__tests__/run/001-single-node.ts @@ -1,4 +1,4 @@ -import {App} from "../util/app"; +import {App} from "../../util/app"; describe('Run', () => { let app: App; diff --git a/__tests__/run/002-two-nodes.ts b/__tests__/run/002-two-nodes.ts index 832c72c..5b367d0 100644 --- a/__tests__/run/002-two-nodes.ts +++ b/__tests__/run/002-two-nodes.ts @@ -1,5 +1,5 @@ import Debug from 'debug'; -import {App} from '../util/app'; +import {App} from '../../util/app'; const debug = Debug('test:two'); describe('Run', () => { diff --git a/__tests__/util/app.ts b/util/app.ts similarity index 85% rename from __tests__/util/app.ts rename to util/app.ts index 2084916..fcbd69e 100644 --- a/__tests__/util/app.ts +++ b/util/app.ts @@ -1,5 +1,5 @@ -import {RhizomeNode, RhizomeNodeConfig} from "../../src/node"; -import {TypedCollection} from "../../src/typed-collection"; +import {RhizomeNode, RhizomeNodeConfig} from "../src/node"; +import {TypedCollection} from "../src/typed-collection"; type User = { id?: string;