Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

handle case when a user uses @truffle/test without core #6118

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

eggplantzzz
Copy link
Contributor

Consider Truffle's test flow. Normally we set up a createInTestDebug function which does what it says and pass it to test. A user reported here that running test programmatically (without the CLI and core) is crashing. It turns out that we never handled the case where this function wasn't passed to @truffle/test. This PR inserts a value for this function that gives the user a helpful message if they try to use debug and it is not available.

@eggplantzzz eggplantzzz merged commit 6b22766 into develop Jun 23, 2023
10 checks passed
@eggplantzzz eggplantzzz deleted the fix-test branch June 23, 2023 15:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants