diff --git a/packages/connected-nextgraph/package.json b/packages/connected-nextgraph/package.json index 2c32ff3..a5a5a3f 100644 --- a/packages/connected-nextgraph/package.json +++ b/packages/connected-nextgraph/package.json @@ -18,7 +18,7 @@ "build": "rimraf dist && npm run build:cjs && npm run build:esm", "build:cjs": "tsc --project tsconfig.cjs.json", "build:esm": "tsc --project tsconfig.esm.json", - "test": "npm run test:integration", + "test": "[ \"$CI\" = \"true\" ] && echo 'Skipping integration tests in CI.' || npm run test:integration", "prepublishOnly": " npm run build", "lint": "eslint src/** --fix --no-error-on-unmatched-pattern", "docs": "typedoc --plugin typedoc-plugin-markdown", diff --git a/packages/connected-nextgraph/test/integration.test.ts b/packages/connected-nextgraph/test/integration.test.ts index 9520c53..f99a769 100644 --- a/packages/connected-nextgraph/test/integration.test.ts +++ b/packages/connected-nextgraph/test/integration.test.ts @@ -13,10 +13,6 @@ import { rm, cp } from "fs/promises"; import path from "path"; import { describe, it, expect, beforeEach, afterAll } from "vitest"; -const isCI = process.env.CI === "true"; - -const describeIfNotCI = isCI ? describe.skip : describe; - const SAMPLE_TTL = `@base . @prefix rdf: . @prefix rdfs: . @@ -33,7 +29,7 @@ const SAMPLE_TTL = `@base . a foaf:Person ; foaf:name "Spiderman", "Человек-паук"@ru .`; -describeIfNotCI("NextGraph Plugin", () => { +describe("NextGraph Plugin", () => { let nextgraphLdoDataset: ConnectedLdoDataset; beforeEach(async () => {