Supersede #906: entry shape test with lint-compliant matcher#910
Supersede #906: entry shape test with lint-compliant matcher#910
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR adds a regression test that explicitly asserts the shape of webpack entry values produced by
Confidence Score: 5/5
Important Files Changed
Flowchartflowchart TD
A[getEntryObject in base.ts] -->|single file| B["entries[name] = assetPath\n(string)"]
A -->|multiple files same name| C["entries[name] = [path1, path2]\n(string[])"]
B --> D[New shape test]
C --> D
D -->|asserts| E["typeof application === 'string'"]
D -->|asserts| F["Array.isArray(multi_entry) === true"]
D -->|asserts| G["multi_entry contains String elements"]
Last reviewed commit: 25442b7 |
Supersedes #906. Closes #792.
Summary
jest/prefer-strict-equalby usingtoStrictEqualfor the matcher assertionValidation
Notes