Skip to content

Disallow `fs` in integration specs

Paul Slaughter requested to merge ps-disallow-fs-in-integration-spec into master

What does this MR do?

One of the benefits to using miragejs in our FE integration spec environment is that you can run it in the browser:

https://youtu.be/nQIHzyl9AZ4?t=1322

This isn't possible if we import fs as a module. This MR does some refactoring so that we can import 'test_helpers/mock_server/use'; in production code during development.

Edited by Paul Slaughter

Merge request reports