I cannot stop cursor adding mocks to my test files

I have tried everything, so many rules to try and stop Cursor mocking in tests, I even instruct it not to do unit tests and only do integration and E2E tests yet still it will not listen. It’s driving me crazy.

Additionally I have some test credentials that are needed for an auth piece I am doing and not matter what I cannot get it to remember the keys. I currently have the keys in a file which I reference in a rule that gets passed with every prompt.

Any one have some ideas, initially my rules were quite long (2 major ones at about 12k characters) not I have a bunch of smaller ones but I think with every prompt atleast 6k characters worth of rules are passed.