Error: driver/gpio.h: No such file or directory

Hey guys, I’m developing in VSCODE + PIO on an ESPDUINO32 device,
I have native and embedded unit tests to run to check my code.
For some reason, only the native testing doesn’t work and the error above appears, I should mention that the driver file is included in “include path”. I don’t understand why it’s not recognized. would love your help.