Skip to content

Commit 9e54fe2

Browse files
chore: Move tests around
1 parent b27f023 commit 9e54fe2

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
test-e2e:
2-
bats test/e2e/tests/*.bats
2+
bats test/e2e/**/*.bats

test/e2e/tests/isthmus.bats renamed to test/e2e/isthmus/isthmus.bats

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
setup() {
2-
load "../lib/bats-support/load.bash"
3-
load "../lib/bats-assert/load.bash"
2+
load "../../lib/bats-support/load.bash"
3+
load "../../lib/bats-assert/load.bash"
44
}
55

66
@test "should have isthmus time if isthmus_time_offset is configured" {
77
local ENCLAVE_ID=op-isthmus--001
8+
local ARGS_FILE=$BATS_TEST_DIRNAME/assets/kurtosis_args_isthmus.yaml
9+
assert [ -f "$ARGS_FILE" ]
810

911
# First we start the enclave
10-
run kurtosis run --enclave $ENCLAVE_ID . --args-file test/e2e/tests/assets/kurtosis_args_isthmus.yaml
12+
run kurtosis run --enclave $ENCLAVE_ID . --args-file $BATS_TEST_DIRNAME/assets/kurtosis_args_isthmus.yaml
1113
assert_success
1214

1315
# We get the UUID of the op-geth service

0 commit comments

Comments
 (0)