You have the global.setup.ts
file in wrong directory. In this setup as you have just now you can move the global.setup.ts
file in test directory and it will be working.
If you need it another place you should specify the test directory as it is mentioned here: https://stackoverflow.com/a/79207061/29568223