Skip to content

Commit

Permalink
Update references that broke due to reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttrinh committed Jul 11, 2023
1 parent b241fb4 commit da6e8dc
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion integration-tests/legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@edgedb/integration-legacy",
"version": "0.0.0",
"scripts": {
"generate": "../generate/dist/cli.js",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit --passWithNoTests",
"test:ci": "tsx ./testRunner.ts"
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/legacy/testRunner.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import createClient from "../driver/src/index.node";
import createClient from "../../packages/driver/src/index.node";

import {
shutdown,
Expand All @@ -9,7 +9,7 @@ import {
startServer,
runCommand,
configToEnv,
} from "../driver/test/testUtil";
} from "../../packages/driver/test/testUtil";

(async function main() {
console.log("\nStarting EdgeDB test cluster...");
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/cardinality.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { $ } from "edgedb";
import type { cardutil } from "../generate/src/syntax/cardinality";
import type { cardutil } from "../../packages/generate/src/syntax/cardinality";
import { tc } from "./setupTeardown";

describe("cardinality", () => {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/collections.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from "node:assert/strict";
import type { Client } from "edgedb";
import * as $ from "../generate/src/syntax/reflection";
import * as $ from "../../packages/generate/src/syntax/reflection";
import e, { type $infer, objectTypeToTupleType } from "./dbschema/edgeql-js";
import type { sys } from "./dbschema/interfaces";

Expand Down
6 changes: 3 additions & 3 deletions integration-tests/lts/deno/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"importMap": "./import_map.json",
"tasks": {
"play": "deno run --unstable --allow-net --allow-read --allow-env --unsafely-ignore-certificate-errors=localhost test.ts",
"edgeql-js": "deno run -A --unstable --unsafely-ignore-certificate-errors=localhost ../../deno/generate.ts edgeql-js --output-dir edgeql-js --target deno",
"queries": "deno run -A --unstable --unsafely-ignore-certificate-errors=localhost ../../deno/generate.ts queries --target deno --file queries",
"interfaces": "deno run -A --unstable --unsafely-ignore-certificate-errors=localhost ../../deno/generate.ts interfaces --file ifaces"
"edgeql-js": "deno run -A --unstable --unsafely-ignore-certificate-errors=localhost ../../../packages/deno/generate.ts edgeql-js --output-dir edgeql-js --target deno",
"queries": "deno run -A --unstable --unsafely-ignore-certificate-errors=localhost ../../../packages/deno/generate.ts queries --target deno --file queries",
"interfaces": "deno run -A --unstable --unsafely-ignore-certificate-errors=localhost ../../../packages/deno/generate.ts interfaces --file ifaces"
}
}
4 changes: 2 additions & 2 deletions integration-tests/lts/deno/import_map.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"imports": {
"edgedb": "../../deno/mod.ts",
"edgedb/": "../../deno/"
"edgedb": "../../../packages/deno/mod.ts",
"edgedb/": "../../../packages/deno/"
}
}
4 changes: 2 additions & 2 deletions integration-tests/lts/functions.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import assert from "node:assert/strict";
import superjson from "superjson";
import * as $ from "../generate/src/syntax/reflection";
import * as $ from "../../packages/generate/src/syntax/reflection";
import e from "./dbschema/edgeql-js";
import type { $expr_Function } from "../generate/src/syntax/funcops";
import type { $expr_Function } from "../../packages/generate/src/syntax/funcops";
import { tc } from "./setupTeardown";
import { number } from "./dbschema/edgeql-js/modules/std";

Expand Down
4 changes: 2 additions & 2 deletions integration-tests/lts/objectTypes.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from "node:assert/strict";
import * as $ from "../generate/src/syntax/reflection";
import type { PropertyDesc } from "../generate/src/syntax/typesystem";
import * as $ from "../../packages/generate/src/syntax/reflection";
import type { PropertyDesc } from "../../packages/generate/src/syntax/typesystem";
import e from "./dbschema/edgeql-js";
import type { $str } from "./dbschema/edgeql-js/modules/std";
import { tc } from "./setupTeardown";
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/operators.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import assert from "node:assert/strict";
import superjson from "superjson";
import type { Client } from "edgedb";
import e from "./dbschema/edgeql-js";
import * as $ from "../generate/src/syntax/reflection";
import * as $ from "../../packages/generate/src/syntax/reflection";

import { setupTests, teardownTests } from "./setupTeardown";

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@edgedb/integration-lts",
"version": "0.0.0",
"scripts": {
"generate": "../generate/dist/cli.js",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "yarn test:ts && yarn test:non_ts",
"test:ts": "NODE_OPTIONS=\"--experimental-vm-modules\" pwd && yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit",
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/paths.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from "node:assert/strict";
import * as $ from "../generate/src/syntax/reflection";
import * as $ from "../../packages/generate/src/syntax/reflection";
import e from "./dbschema/edgeql-js/index";
import { $PathNode } from "./dbschema/edgeql-js/syntax";
import { tc } from "./setupTeardown";
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/select.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from "node:assert/strict";
import * as edgedb from "edgedb";
import * as $ from "../generate/src/syntax/reflection";
import * as $ from "../../packages/generate/src/syntax/reflection";

import e, { type $infer } from "./dbschema/edgeql-js";
import { setupTests, teardownTests, tc, type TestData } from "./setupTeardown";
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/sets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import assert from "node:assert/strict";
import { $, type Client } from "edgedb";
import e, { type $infer } from "./dbschema/edgeql-js";
import { setupTests, teardownTests, tc } from "./setupTeardown";
import { TypeKind } from "../generate/src/syntax/reflection";
import { TypeKind } from "../../packages/generate/src/syntax/reflection";

describe("sets", () => {
let client: Client;
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/lts/testRunner.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import createClient from "../driver/src/index.node";
import createClient from "../../packages/driver/src/index.node";

import {
shutdown,
Expand All @@ -9,7 +9,7 @@ import {
startServer,
runCommand,
configToEnv,
} from "../driver/test/testUtil";
} from "../../packages/driver/test/testUtil";

(async function main() {
console.log("\nStarting EdgeDB test cluster...");
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/lts/with.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from "node:assert/strict";
import type * as $ from "../generate/src/syntax/reflection";
import type * as $ from "../../packages/generate/src/syntax/reflection";
import e from "./dbschema/edgeql-js";
import { tc } from "./setupTeardown";

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/nightly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@edgedb/integration-nightly",
"version": "0.0.0",
"scripts": {
"generate": "../generate/dist/cli.js",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit --passWithNoTests",
"test:ci": "tsx ./testRunner.ts"
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/nightly/testRunner.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import createClient from "../driver/src/index.node";
import createClient from "../../packages/driver/src/index.node";

import {
shutdown,
Expand All @@ -9,7 +9,7 @@ import {
startServer,
runCommand,
configToEnv,
} from "../driver/test/testUtil";
} from "../../packages/driver/test/testUtil";

(async function main() {
console.log("\nStarting EdgeDB test cluster...");
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/stable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@edgedb/integration-stable",
"version": "0.0.0",
"scripts": {
"generate": "../generate/dist/cli.js",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit --passWithNoTests",
"test:ci": "tsx ./testRunner.ts"
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/stable/testRunner.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import createClient from "../driver/src/index.node";
import createClient from "../../packages/driver/src/index.node";

import {
shutdown,
Expand All @@ -9,7 +9,7 @@ import {
startServer,
runCommand,
configToEnv,
} from "../driver/test/testUtil";
} from "../../packages/driver/test/testUtil";

(async function main() {
console.log("\nStarting EdgeDB test cluster...");
Expand Down

0 comments on commit da6e8dc

Please sign in to comment.