Skip to content

fix(jasmine): returnValues() should be transformed to a chain of mockReturnValueOnce() #894

fix(jasmine): returnValues() should be transformed to a chain of mockReturnValueOnce()

fix(jasmine): returnValues() should be transformed to a chain of mockReturnValueOnce() #894

Triggered via pull request November 23, 2024 09:10
Status Failure
Total duration 25s
Artifacts

verify.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
verify: src/transformers/jasmine-globals.ts#L325
Replace `mockReturnValuesCall,·j.identifier('mockReturnValueOnce')` with `⏎················mockReturnValuesCall,⏎················j.identifier('mockReturnValueOnce')⏎··············`
verify
Process completed with exit code 1.
verify
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/