codediodeio / sveltefire

Cybernetically enhanced Firebase apps
MIT License
1.67k stars 127 forks source link

Permit the use of firebase emulator for testing #114

Closed JeremyVoisin closed 1 year ago

JeremyVoisin commented 1 year ago

This PR adds a firebase emulator execution context around to be able to remove firebase credentials for testing purpose. Using NODE_ENV with the value ci to connect the emulators when running tests.

JeremyVoisin commented 1 year ago

I see the pipeline is failing, my bad, I modified the npm target and not the playright config, which is the one used in the workflow. Fixing it

JeremyVoisin commented 1 year ago

It's better right now, all the tests passed 😄