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 { IArticlesRepository } from "../application/repositories/articles.repository.interface.js";
|
||||
import { articleFactory } from "../__factories__/article.factory.js";
|
||||
import type { IArticlesRepository } from "../application/repositories/articles.repository.interface";
|
||||
import { articleFactory } from "../__factories__/article.factory";
|
||||
|
||||
export const articlesRepositoryContract =
|
||||
defineContractSuite<IArticlesRepository>(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineFactory } from "@repo/core-testing/factory";
|
||||
import type { Article } from "../entities/models/article.js";
|
||||
import type { Article } from "../entities/models/article";
|
||||
|
||||
export const articleFactory = defineFactory<Article>(({ sequence }) => ({
|
||||
id: `article-${sequence}`,
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { articleFactory } from "./article.factory.js";
|
||||
export { articleFactory } from "./article.factory";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { articleFactory } from "../__factories__/article.factory.js";
|
||||
import type { Article } from "../entities/models/article.js";
|
||||
import { articleFactory } from "../__factories__/article.factory";
|
||||
import type { Article } from "../entities/models/article";
|
||||
|
||||
/**
|
||||
* Realistic blog seed for dev mode + storybook stories.
|
||||
|
||||
Reference in New Issue
Block a user