fix: drop .js extensions from remaining relative imports
Some checks failed
CI / typecheck + lint + boundaries + test + build (push) Has been cancelled
CI / Playwright e2e (push) Has been cancelled
CI / Storybook smoke tests + visual regression (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Coverage snapshot / snapshot (push) Has been cancelled
Release Please / release-please (push) Has been cancelled
Sentry PII guard (R31) / pii-guard (push) Has been cancelled
Some checks failed
CI / typecheck + lint + boundaries + test + build (push) Has been cancelled
CI / Playwright e2e (push) Has been cancelled
CI / Storybook smoke tests + visual regression (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Coverage snapshot / snapshot (push) Has been cancelled
Release Please / release-please (push) Has been cancelled
Sentry PII guard (R31) / pii-guard (push) Has been cancelled
Extends 8111639 to cover __factories__, __seeds__, __contracts__, and
core-testing barrels.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { it, expect, beforeEach, describe } from "vitest";
|
||||
import { defineContractSuite } from "@repo/core-testing/contract";
|
||||
import type { IPagesRepository } from "../application/repositories/pages.repository.interface.js";
|
||||
import type { Page } from "../entities/models/page.js";
|
||||
import type { IPagesRepository } from "../application/repositories/pages.repository.interface";
|
||||
import type { Page } from "../entities/models/page";
|
||||
|
||||
const SEED_DATE = new Date("2026-01-01T00:00:00.000Z");
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { it, expect, beforeEach, describe } from "vitest";
|
||||
import { defineContractSuite } from "@repo/core-testing/contract";
|
||||
import type { ISiteSettingsRepository } from "../application/repositories/site-settings.repository.interface.js";
|
||||
import type { ISiteSettingsRepository } from "../application/repositories/site-settings.repository.interface";
|
||||
|
||||
/**
|
||||
* Contract for ISiteSettingsRepository.
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { pageFactory } from "./page.factory.js";
|
||||
export { siteSettingsFactory } from "./site-settings.factory.js";
|
||||
export { pageFactory } from "./page.factory";
|
||||
export { siteSettingsFactory } from "./site-settings.factory";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineFactory } from "@repo/core-testing/factory";
|
||||
import type { Page } from "../entities/models/page.js";
|
||||
import type { Page } from "../entities/models/page";
|
||||
|
||||
export const pageFactory = defineFactory<Page>(({ sequence }) => ({
|
||||
id: `page-${sequence}`,
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import { defineFactory } from "@repo/core-testing/factory";
|
||||
import type { SiteSettings } from "../entities/models/site-settings.js";
|
||||
import type { SiteSettings } from "../entities/models/site-settings";
|
||||
|
||||
export const siteSettingsFactory = defineFactory<SiteSettings>(({ sequence }) => ({
|
||||
siteName: `Site ${sequence}`,
|
||||
}));
|
||||
export const siteSettingsFactory = defineFactory<SiteSettings>(
|
||||
({ sequence }) => ({
|
||||
siteName: `Site ${sequence}`,
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { pageFactory } from "../__factories__/page.factory.js";
|
||||
import { siteSettingsFactory } from "../__factories__/site-settings.factory.js";
|
||||
import type { Page } from "../entities/models/page.js";
|
||||
import type { SiteSettings } from "../entities/models/site-settings.js";
|
||||
import { pageFactory } from "../__factories__/page.factory";
|
||||
import { siteSettingsFactory } from "../__factories__/site-settings.factory";
|
||||
import type { Page } from "../entities/models/page";
|
||||
import type { SiteSettings } from "../entities/models/site-settings";
|
||||
|
||||
/**
|
||||
* Realistic marketing-pages seed for dev mode + storybook stories.
|
||||
|
||||
Reference in New Issue
Block a user