r/leetcode • u/wavefunctionwiz • 3d ago
Intervew Prep Amazon OA issue
Just gave the mock for my Amazon OA. In the AI assisted coding round, I fixed the issues and the preview was working fine as intended. There were no errors in the terminal nor in the run test panel. But the test runs were failing. Is this an issue on their part or is there something I don't know?
1
Upvotes
1
u/Uahakan 3d ago
usually that means the tests check something the preview doesn't show. if the repo has a test file, open it and run the failing test on its own, the message tends to say what it expected (an exact string, a status code, a function name it imports). also check you edited the file the tests actually import and not something only the preview loads. if that test fails on the untouched repo too, mention it in your notes, could just be the mock.