Skip to content

Commit 00554fb

Browse files
authored
chore: move app e2e tests to subfolder (#232)
1 parent 1b58787 commit 00554fb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+16
-12
lines changed

e2e/BUILD.bazel renamed to e2e/github-webhook/BUILD.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ load("//bazel/jest:defs.bzl", "jest_test")
22
load("//bazel/ts:defs.bzl", "ts_project")
33

44
ts_project(
5-
name = "e2e_tests",
5+
name = "github-webhook_tests",
66
testonly = True,
77
srcs = ["e2e.spec.ts"],
88
data = glob(["fixtures/**/*"]) + [
@@ -24,8 +24,8 @@ ts_project(
2424
"//:node_modules/mockttp",
2525
"//:node_modules/nodemailer",
2626
"//:node_modules/simple-git",
27-
"//e2e/helpers",
28-
"//e2e/stubs",
27+
"//e2e/github-webhook/helpers",
28+
"//e2e/github-webhook/stubs",
2929
"//src/infrastructure",
3030
],
3131
)
@@ -34,7 +34,7 @@ jest_test(
3434
name = "test",
3535
timeout = "moderate",
3636
data = [
37-
":e2e_tests",
37+
":github-webhook_tests",
3838
],
3939
snapshots = ["__snapshots__/e2e.spec.js.snap"],
4040
tags = ["requires-network"],

e2e/e2e.spec.ts renamed to e2e/github-webhook/e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { CompletedRequest } from 'mockttp';
1111
import { TestAccount } from 'nodemailer';
1212
import { simpleGit } from 'simple-git';
1313

14-
import { GitHubClient } from '../src/infrastructure/github';
14+
import { GitHubClient } from '../../src/infrastructure/github';
1515
import {
1616
makeReleaseTarball as _makeReleaseTarball,
1717
makeReleaseZip as _makeReleaseZip,

0 commit comments

Comments
 (0)