mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Add shellmock_clean to setup method
This commit is contained in:
parent
cdf7b74cbf
commit
4f0fc14d0c
@ -33,9 +33,16 @@ setup() {
|
|||||||
export INPUT_TAGGING_MESSAGE=""
|
export INPUT_TAGGING_MESSAGE=""
|
||||||
export INPUT_PUSH_OPTIONS=""
|
export INPUT_PUSH_OPTIONS=""
|
||||||
export INPUT_SKIP_DIRTY_CHECK=false
|
export INPUT_SKIP_DIRTY_CHECK=false
|
||||||
|
|
||||||
|
skipIfNot "$BATS_TEST_DESCRIPTION"
|
||||||
|
|
||||||
|
if [ -z "$TEST_FUNCTION" ]; then
|
||||||
|
shellmock_clean
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
|
|
||||||
if [ -z "$TEST_FUNCTION" ]; then
|
if [ -z "$TEST_FUNCTION" ]; then
|
||||||
shellmock_clean
|
shellmock_clean
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user