This is basically a copy of #10. I commented there, but given it's closed, it might get lost so just repeating that here:
I can share what is being run on my case:
npx sfdx-lwc-jest -- -t '^c\\-api\\-data\\-fetcher does not display success or error messages when loading$' /home/fede/P
rogramming/Salesforce/one\\-customer\\-care\\-sfdc/force\\-app/main/default/lwc/apiDataFetcher/__tests__/apiDataFetcher\\.test\\.js
Please note the npx sfdx-lwc-jest -- is a wrapper around jest, but works fine if the dashes are not double escaped:
npx sfdx-lwc-jest -- -t '^c-api-data-fetcher does not display' force-app/main/default/lwc/apiDataFetcher/__tests__/apiDataFetcher.test.js works fine (I dropped the $, but it just ends up running multiple tests)
This is my config:
return {
'David-Kunz/jester',
config = function()
require('jester').setup {
cmd = "npx sfdx-lwc-jest -- -t '$result' $file",
prepend = { 'describe' },
terminal_cmd = ":ToggleTerm direction=float"
}
end
}
Replicated in bash and zsh. Both in and out of tmux, and both in alacritty and gnome-terminal.
Let me know what other info I can get for you.
This is basically a copy of #10. I commented there, but given it's closed, it might get lost so just repeating that here:
I can share what is being run on my case:
Please note the
npx sfdx-lwc-jest --is a wrapper around jest, but works fine if the dashes are not double escaped:npx sfdx-lwc-jest -- -t '^c-api-data-fetcher does not display' force-app/main/default/lwc/apiDataFetcher/__tests__/apiDataFetcher.test.jsworks fine (I dropped the $, but it just ends up running multiple tests)This is my config:
Replicated in
bashandzsh. Both in and out oftmux, and both inalacrittyandgnome-terminal.Let me know what other info I can get for you.