We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f5e0e1 commit b0a0295Copy full SHA for b0a0295
test/test_helper.bash
@@ -2,9 +2,6 @@
2
3
load ../node_modules/bats-assert/all
4
5
-EXAMPLE_PACKAGE_DIR="$BATS_TMPDIR/example_package"
6
-mkdir -p "$EXAMPLE_PACKAGE_DIR"
7
-
8
setup() {
9
# common nodenv setup
10
unset NODENV_VERSION
@@ -15,7 +12,9 @@ setup() {
15
12
16
13
export NODENV_ROOT="$BATS_TEST_DIRNAME/fixtures/nodenv_root"
17
14
18
+ # custom setup
+ EXAMPLE_PACKAGE_DIR="$BATS_TMPDIR/example_package"
+ mkdir -p "$EXAMPLE_PACKAGE_DIR"
19
cd "$EXAMPLE_PACKAGE_DIR" || return 1
20
}
21
0 commit comments