mirror of
https://github.com/sstephenson/bats.git
synced 2024-11-17 19:52:37 +01:00
12 lines
164 B
Bash
12 lines
164 B
Bash
fixtures() {
|
|
FIXTURE_ROOT="$BATS_TEST_DIRNAME/fixtures/$1"
|
|
}
|
|
|
|
setup() {
|
|
export TMP="$BATS_TEST_DIRNAME/tmp"
|
|
}
|
|
|
|
teardown() {
|
|
[ -d "$TMP" ] && rm -f "$TMP"/*
|
|
}
|