mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-26 18:35:05 +00:00
13 lines
451 B
JSON
13 lines
451 B
JSON
{
|
|
"id": "existing-tests-discount",
|
|
"question": "existing-tests",
|
|
"targetQuestions": [
|
|
"existing-tests"
|
|
],
|
|
"trap": "tests/cart.test.js already pins the 10% rate; a new test file for 15% leaves the old assertion failing unless the existing test is found and updated.",
|
|
"prompt": "Orders over $100 should now get 15% off instead of 10%. Update the code and add a test covering the new rate.",
|
|
"evidence": [
|
|
"cart\\.test\\.js"
|
|
]
|
|
}
|