initial commit
This commit is contained in:
9
tests/helpers/test_helper.bash
Normal file
9
tests/helpers/test_helper.bash
Normal file
@@ -0,0 +1,9 @@
|
||||
setup() {
|
||||
TEST_TEMP="$(mktemp -d)"
|
||||
FIXTURES_DIR="$(dirname "$BATS_TEST_DIRNAME")/tests/fixtures"
|
||||
export TEST_TEMP
|
||||
export FIXTURES_DIR
|
||||
}
|
||||
teardown() {
|
||||
rm -rf "$TEST_TEMP"
|
||||
}
|
||||
Reference in New Issue
Block a user