Skip to content

Commit 94da19e

Browse files
committed
Organize files
1 parent 3e28d90 commit 94da19e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

packages/engine/src/tests/Engine.test.ts renamed to packages/engine/src/Engine.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { CodeModel } from "../CodeModel";
2-
import { Engine } from "../Engine";
1+
import { CodeModel } from "./CodeModel";
2+
import { Engine } from "./Engine";
33
import { event } from "vscode-lib";
44
import {
55
buildMockedModel,
66
importResolver,
77
toAMDFormat,
88
waitTillEvent,
9-
} from "./utils/helpers";
9+
} from "./tests/util/helpers";
1010

1111
const getModel1 = () =>
1212
buildMockedModel(
@@ -68,6 +68,7 @@ describe("engine class", () => {
6868

6969
it("should re-evaluate other models when global variable changes", async () => {
7070
const engine = new Engine<CodeModel>(importResolver);
71+
// TODO: Expected 4 events. Figure out why model 2 re-evaluates.
7172
const eventsPromise = waitTillEvent(engine.onOutput, 5);
7273
const model1 = getModel1();
7374
const model2 = getModel2();

0 commit comments

Comments
 (0)