Skip to content

Commit 27b0218

Browse files
committed
test: move ssr tests in the build directory
These are build related tests and thus are moved into the build dir.
1 parent 9a67d9a commit 27b0218

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

tests/legacy-cli/e2e.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ ESBUILD_TESTS = [
3333
"tests/build/app-shell/app-shell-standalone.js",
3434
"tests/build/app-shell/app-shell-with-schematic.js",
3535
"tests/build/library/**",
36+
"tests/build/ssr/**",
3637
"tests/build/prod-build.js",
3738
"tests/build/relative-sourcemap.js",
3839
"tests/build/styles/**",
3940
"tests/commands/add/**",
4041
"tests/i18n/extract-ivy*",
41-
"tests/ssr/**",
4242
]
4343

4444
def _to_glob(patterns):

tests/legacy-cli/e2e/tests/ssr/express-engine-csp-nonce.ts renamed to tests/legacy-cli/e2e/tests/build/ssr/express-engine-csp-nonce.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { getGlobalVariable } from '../../utils/env';
2-
import { rimraf, writeMultipleFiles } from '../../utils/fs';
3-
import { findFreePort } from '../../utils/network';
4-
import { installWorkspacePackages } from '../../utils/packages';
5-
import { execAndWaitForOutputToMatch, killAllProcesses, ng } from '../../utils/process';
6-
import { updateJsonFile, useSha } from '../../utils/project';
1+
import { getGlobalVariable } from '../../../utils/env';
2+
import { rimraf, writeMultipleFiles } from '../../../utils/fs';
3+
import { findFreePort } from '../../../utils/network';
4+
import { installWorkspacePackages } from '../../../utils/packages';
5+
import { execAndWaitForOutputToMatch, killAllProcesses, ng } from '../../../utils/process';
6+
import { updateJsonFile, useSha } from '../../../utils/project';
77

88
export default async function () {
99
const useWebpackBuilder = !getGlobalVariable('argv')['esbuild'];

tests/legacy-cli/e2e/tests/ssr/express-engine-ngmodule.ts renamed to tests/legacy-cli/e2e/tests/build/ssr/express-engine-ngmodule.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { getGlobalVariable } from '../../utils/env';
2-
import { rimraf, writeMultipleFiles } from '../../utils/fs';
3-
import { findFreePort } from '../../utils/network';
4-
import { installWorkspacePackages } from '../../utils/packages';
5-
import { execAndWaitForOutputToMatch, killAllProcesses, ng } from '../../utils/process';
6-
import { updateJsonFile, useSha } from '../../utils/project';
1+
import { getGlobalVariable } from '../../../utils/env';
2+
import { rimraf, writeMultipleFiles } from '../../../utils/fs';
3+
import { findFreePort } from '../../../utils/network';
4+
import { installWorkspacePackages } from '../../../utils/packages';
5+
import { execAndWaitForOutputToMatch, killAllProcesses, ng } from '../../../utils/process';
6+
import { updateJsonFile, useSha } from '../../../utils/project';
77

88
export default async function () {
99
const useWebpackBuilder = !getGlobalVariable('argv')['esbuild'];

tests/legacy-cli/e2e/tests/ssr/express-engine-standalone.ts renamed to tests/legacy-cli/e2e/tests/build/ssr/express-engine-standalone.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { getGlobalVariable } from '../../utils/env';
2-
import { rimraf, writeMultipleFiles } from '../../utils/fs';
3-
import { findFreePort } from '../../utils/network';
4-
import { installWorkspacePackages } from '../../utils/packages';
5-
import { execAndWaitForOutputToMatch, killAllProcesses, ng } from '../../utils/process';
6-
import { updateJsonFile, useCIChrome, useCIDefaults, useSha } from '../../utils/project';
1+
import { getGlobalVariable } from '../../../utils/env';
2+
import { rimraf, writeMultipleFiles } from '../../../utils/fs';
3+
import { findFreePort } from '../../../utils/network';
4+
import { installWorkspacePackages } from '../../../utils/packages';
5+
import { execAndWaitForOutputToMatch, killAllProcesses, ng } from '../../../utils/process';
6+
import { updateJsonFile, useCIChrome, useCIDefaults, useSha } from '../../../utils/project';
77

88
export default async function () {
99
// forcibly remove in case another test doesn't clean itself up

0 commit comments

Comments
 (0)