Skip to content

Commit

Permalink
[INTERNAL] TypeScript: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Aug 22, 2024
1 parent f3e9b7e commit 424e7e7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions test/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from "ava";
import {getLogger, isLogLevelEnabled, setLogLevel, getLogLevel} from "../../lib/index.js";
import Logger from "../../lib/loggers/Logger.js";
import {getLogger, isLogLevelEnabled, setLogLevel, getLogLevel} from "../../src/index.js";
import Logger from "../../src/loggers/Logger.js";

test.serial.afterEach.always((t) => {
delete process.env.UI5_LOG_LVL;
Expand Down
2 changes: 1 addition & 1 deletion test/lib/loggers/Build.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from "ava";
import sinon from "sinon";
import BuildLogger from "../../../lib/loggers/Build.js";
import BuildLogger from "../../../src/loggers/Build.js";

test.serial.beforeEach((t) => {
t.context.buildLogger = new BuildLogger("my:module:name");
Expand Down
2 changes: 1 addition & 1 deletion test/lib/loggers/Logger.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from "ava";
import sinon from "sinon";
import Logger from "../../../lib/loggers/Logger.js";
import Logger from "../../../src/loggers/Logger.js";

test.serial.beforeEach((t) => {
t.context.logHandler = sinon.stub();
Expand Down
2 changes: 1 addition & 1 deletion test/lib/loggers/ProjectBuild.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from "ava";
import sinon from "sinon";
import ProjectBuildLogger from "../../../lib/loggers/ProjectBuild.js";
import ProjectBuildLogger from "../../../src/loggers/ProjectBuild.js";

test.serial.beforeEach((t) => {
t.context.projectBuildLogger = new ProjectBuildLogger({
Expand Down
8 changes: 4 additions & 4 deletions test/lib/writers/Console.integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import test from "ava";
import sinon from "sinon";
import stripAnsi from "strip-ansi";
import figures from "figures";
import ConsoleWriter from "../../../lib/writers/Console.js";
import Logger from "../../../lib/loggers/Logger.js";
import BuildLogger from "../../../lib/loggers/Build.js";
import ProjectBuildLogger from "../../../lib/loggers/ProjectBuild.js";
import ConsoleWriter from "../../../src/writers/Console.js";
import Logger from "../../../src/loggers/Logger.js";
import BuildLogger from "../../../src/loggers/Build.js";
import ProjectBuildLogger from "../../../src/loggers/ProjectBuild.js";

test.serial.beforeEach((t) => {
t.context.consoleWriter = ConsoleWriter.init();
Expand Down
2 changes: 1 addition & 1 deletion test/lib/writers/Console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import test from "ava";
import sinon from "sinon";
import stripAnsi from "strip-ansi";
import figures from "figures";
import ConsoleWriter from "../../../lib/writers/Console.js";
import ConsoleWriter from "../../../src/writers/Console.js";

test.serial.beforeEach((t) => {
t.context.consoleWriter = ConsoleWriter.init();
Expand Down

0 comments on commit 424e7e7

Please sign in to comment.