Skip to content

Commit

Permalink
refactor: move fixture files outside of src
Browse files Browse the repository at this point in the history
  • Loading branch information
radiovisual committed Jun 3, 2024
1 parent 0c0be97 commit 79ff326
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion i18n-validator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"de": "de.json",
"fr": "fr.json"
},
"pathToTranslatedFiles": "src/tests/fixtures/i18n",
"pathToTranslatedFiles": "fixtures/i18n",
"rules": {
"no-untranslated-messages": "error",
"no-empty-messages": "error",
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-empty-messages/no-empty-messages.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createMockProblemReporter } from "../../tests/utils/test-helpers.ts";
import { createMockProblemReporter } from "../../utils/test-helpers.ts";
import {
Config,
RuleContext,
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-html-messages/no-html-messages.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createMockProblemReporter } from "../../tests/utils/test-helpers.ts";
import { createMockProblemReporter } from "../../utils/test-helpers.ts";
import {
Config,
RuleContext,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { createMockProblemReporter } from "../../tests/utils/test-helpers.ts";
import { createMockProblemReporter } from "../../utils/test-helpers";
import {
Config,
RuleContext,
RuleSeverity,
TranslationFiles,
} from "../../types.ts";
import { noInvalidConfiguration } from "./no-invalid-configuration.ts";
import { noInvalidConfiguration } from "./no-invalid-configuration";
import {
getInvalidPathToTranslatedFilesProblem,
getInvalidTranslationFilesProblem,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createMockProblemReporter } from "../../tests/utils/test-helpers.ts";
import { createMockProblemReporter } from "../../utils/test-helpers.ts";
import {
Config,
RuleContext,
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-missing-keys/no-missing-keys.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createMockProblemReporter } from "../../tests/utils/test-helpers.ts";
import { createMockProblemReporter } from "../../utils/test-helpers.ts";
import {
Config,
RuleContext,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createMockProblemReporter } from "../../tests/utils/test-helpers.ts";
import { createMockProblemReporter } from "../../utils/test-helpers.ts";
import {
Config,
RuleContext,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ProblemReporter } from "../../classes/problem-reporter";
import { ProblemReporter } from "../classes/problem-reporter";

export const createMockProblemReporter = () => {
return {
Expand Down

0 comments on commit 79ff326

Please sign in to comment.