Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the test suite require bats-support to be installed via nodemodules ? #38

Closed
MichaelDimmitt opened this issue Nov 4, 2021 · 2 comments

Comments

@MichaelDimmitt
Copy link

bats-assert/test/test_helper.bash

# Load dependencies.
load "${BATS_TEST_DIRNAME}/../node_modules/bats-support/load.bash"

# Load library.
load '../load'
@martin-schulze-vireso
Copy link
Member

See also #34

gioele added a commit to gioele/bats-assert that referenced this issue Oct 11, 2022
Instead of hard-coding `node_modules` in the path (source of various
issues: bats-core#38, bats-core#34), use the `bats_load_library` command to load
`bats-support`.

`bats_load_library` is available since Bats v1.6.
@martin-schulze-vireso
Copy link
Member

Fixed via #49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants