Skip to content

Commit

Permalink
test/scripts: Temporarily disable coverage
Browse files Browse the repository at this point in the history
I want to do a PR specifically focusing on enabling coverage for Bats
tests, and to see if it can be unified with the JavaScript coverage
reports.
  • Loading branch information
mbland committed Aug 19, 2017
1 parent 0634f41 commit f1260d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/test.d/scripts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#! /usr/bin/env bash
#
# Tests `./go` scripts
#
#

# Passes all arguments through to `@go.bats_main` from `lib/bats-main`.
_test_main() {
Expand All @@ -12,7 +10,9 @@ _test_main() {

. "$_GO_USE_MODULES" 'bats-main'
# Tab completions
@go.bats_main "$@"

# Coverage is temporarily disabled.
_GO_COLLECT_BATS_COVERAGE= @go.bats_main "$@"
}

_test_main "$@"

0 comments on commit f1260d1

Please sign in to comment.