Skip to content

Commit

Permalink
fix int tests imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Oct 30, 2023
1 parent 71a82bf commit c680462
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import path from "path";
import { omit } from "lodash-es";
import { Manifest, SetupWizard, getImageTag } from "@dappnode/types";
import * as calls from "../../src/calls/index.js";
import { ManifestWithImage } from "../../src/types.js";
import {
getTestMountpoint,
clearDbs,
Expand All @@ -21,7 +20,7 @@ import { shell } from "@dappnode/utils";
import { dockerComposeUp } from "@dappnode/dockerapi";
import { ComposeEditor, writeDefaultsToLabels } from "@dappnode/dockercompose";
import { getContainerName, validatePath } from "@dappnode/utils";
import { RequestedDnp } from "@dappnode/common";
import { ManifestWithImage, RequestedDnp } from "@dappnode/common";

describe("Fetch releases", () => {
// This mountpoints have files inside created by docker with the root
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { isEqual } from "lodash-es";
import { ipfs } from "@dappnode/ipfs";
import { parseManifest } from "@dappnode/manifest";
import { ManifestWithImage } from "../../../src/types.js";
import { ipfsAddManifest, ipfsAddFileFromFs } from "../testIpfsUtils.js";
import { saveNewImageToDisk } from "./mockImage.js";
import { ManifestWithImage } from "@dappnode/common";

/**
* Release type: `Manifest-type`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import "mocha";
import { expect } from "chai";
import { mockManifestWithImage } from "../../testUtils.js";
import { ManifestWithImage } from "../../../src/types.js";
import { uploadManifestRelease } from "../integrationSpecs/buildReleaseManifest.js";
import { uploadDirectoryRelease } from "../integrationSpecs/buildReleaseDirectory.js";
import { ipfs } from "@dappnode/ipfs";
import { getManifest } from "@dappnode/installer";
import { ManifestWithImage } from "@dappnode/common";

describe("IPFS remote", function () {
this.timeout(100000 * 5);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import "mocha";
import fs from "fs";
import { expect } from "chai";
import { mockPackageData, shellSafe } from "../testUtils.js";
import { packageToInstallHasPid, getServicesSharingPid } from "@dappnode/utils";
import {
packageToInstallHasPid,
getServicesSharingPid,
ComposeServicesSharingPid
} from "@dappnode/utils";
import { ComposeFileEditor } from "@dappnode/dockercompose";
import { ComposeServicesSharingPid } from "../../src/types.js";

describe("Module > compose > pid", () => {
// Example package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import {
uploadManifestRelease,
cleanInstallationArtifacts
} from "./integrationSpecs/index.js";
import { ManifestWithImage } from "../../src/types.js";
import { getDockerComposePath } from "@dappnode/utils";
import { ManifestWithImage } from "@dappnode/common";

describe("Resilience features, when things go wrong", function () {
const testMockPrefix = "testmock-";
Expand Down

0 comments on commit c680462

Please sign in to comment.