From 7e9af10dce8617e060b51d4d25cf027e4e0c8853 Mon Sep 17 00:00:00 2001 From: gtmnayan <50981692+gtm-nayan@users.noreply.github.com> Date: Mon, 22 May 2023 18:02:43 +0545 Subject: [PATCH] chore(test): link compiler directly from source (#8612) --- test/helpers.js | 2 +- test/server-side-rendering/ssr-2.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helpers.js b/test/helpers.js index 33cf1ac198..112c5c28bd 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -3,7 +3,7 @@ import * as path from 'node:path'; import glob from 'tiny-glob/sync'; import colors from 'kleur'; import { assert } from 'vitest'; -import { compile } from '../compiler.js'; +import { compile } from '../src/compiler/index.js'; import { fileURLToPath } from 'node:url'; export function try_load_json(file) { diff --git a/test/server-side-rendering/ssr-2.test.js b/test/server-side-rendering/ssr-2.test.js index 9a55cee639..a0780f04f6 100644 --- a/test/server-side-rendering/ssr-2.test.js +++ b/test/server-side-rendering/ssr-2.test.js @@ -5,7 +5,7 @@ import * as path from 'node:path'; import { setTimeout } from 'node:timers/promises'; import glob from 'tiny-glob/sync'; import { assert, describe, it } from 'vitest'; -import { compile } from '../../compiler.mjs'; +import { compile } from '../../src/compiler/index.js'; import { create_loader, mkdirp, try_load_config } from '../helpers.js'; import { assert_html_equal, assert_html_equal_with_options } from '../html_equal.js';