From 796d7137534a30557c0b943d4afd5616bd58042d Mon Sep 17 00:00:00 2001 From: Owen Buckley Date: Sun, 19 May 2024 19:37:28 -0400 Subject: [PATCH] post rebase tweaks --- .../cases/build.plugins.context/theme-pack-context-plugin.js | 4 ++-- .../loaders-build.prerender/loaders-build.prerender.spec.js | 2 +- .../src/{templates => layouts}/app.html | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename packages/plugin-import-raw/test/cases/loaders-build.prerender/src/{templates => layouts}/app.html (100%) diff --git a/packages/cli/test/cases/build.plugins.context/theme-pack-context-plugin.js b/packages/cli/test/cases/build.plugins.context/theme-pack-context-plugin.js index 0449e297f..15da0a215 100644 --- a/packages/cli/test/cases/build.plugins.context/theme-pack-context-plugin.js +++ b/packages/cli/test/cases/build.plugins.context/theme-pack-context-plugin.js @@ -8,8 +8,8 @@ const myThemePackPlugin = (options = {}) => [{ const { name } = packageJson; const layoutLocation = options.__isDevelopment // eslint-disable-line no-underscore-dangle - ? new URL(`./node_modules/${name}/dist/my-layouts/`, import.meta.url) - : new URL('./fixtures/my-layouts/', import.meta.url); + ? new URL('./fixtures/my-layouts/', import.meta.url) + : new URL(`./node_modules/${name}/dist/my-layouts/`, import.meta.url); return { layouts: [ diff --git a/packages/plugin-import-raw/test/cases/loaders-build.prerender/loaders-build.prerender.spec.js b/packages/plugin-import-raw/test/cases/loaders-build.prerender/loaders-build.prerender.spec.js index ccbb5efe8..598e879fc 100644 --- a/packages/plugin-import-raw/test/cases/loaders-build.prerender/loaders-build.prerender.spec.js +++ b/packages/plugin-import-raw/test/cases/loaders-build.prerender/loaders-build.prerender.spec.js @@ -25,7 +25,7 @@ * footer.js * pages/ * index.md - * templates/ + * layouts/ * app.html */ import chai from 'chai'; diff --git a/packages/plugin-import-raw/test/cases/loaders-build.prerender/src/templates/app.html b/packages/plugin-import-raw/test/cases/loaders-build.prerender/src/layouts/app.html similarity index 100% rename from packages/plugin-import-raw/test/cases/loaders-build.prerender/src/templates/app.html rename to packages/plugin-import-raw/test/cases/loaders-build.prerender/src/layouts/app.html