You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
@betterer/better doesn't seem to be able to find the results file.
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
(0, assert_1.default)(hasResult)
at BettererResultsFileΩ._getResult (/Users/ramy.loveridge/Products/betterer-test/node_modules/@betterer/betterer/src/results/results-file.ts:96:11)
at BettererResultsFileΩ.getExpected (/Users/ramy.loveridge/Products/betterer-test/node_modules/@betterer/betterer/src/results/results-file.ts:44:27)
at /Users/ramy.loveridge/Products/betterer-test/node_modules/@betterer/betterer/src/results/results-summary.ts:47:44
at async Promise.all (index 0)
at async Function.create (/Users/ramy.loveridge/Products/betterer-test/node_modules/@betterer/betterer/src/results/results-summary.ts:43:26)
at async main (/Users/ramy.loveridge/Products/betterer-test/bettererStats.ts:9:19) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
To Reproduce
minimal repo https://github.com/ramykl/betterer-test
run yarn reportCi
This is to output the results in a readable format but it can't seem to get the result file.
Expected behavior
Able to get the results from the result file programmatically as per the docs.
Versions (please complete the following information):
OS: MacOS
Betterer Version : 5.4.0
Node Version: 18.15.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
ramykl
changed the title
@betterer/better AssertionError getting result file
@betterer/betterer AssertionError getting result file
May 6, 2023
Not sure what the best fix is, to wrap it in a try/catch or if there are no issues should the test be removed? Either way at least a better error here would be great
Describe the bug
@betterer/better doesn't seem to be able to find the results file.
To Reproduce
minimal repo https://github.com/ramykl/betterer-test
run
yarn reportCi
This is to output the results in a readable format but it can't seem to get the result file.
Expected behavior
Able to get the results from the result file programmatically as per the docs.
Versions (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: