-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow customizing the sandbox provided to FastBoot #57
Comments
@ryanto As discussed the sandbox Globals will include basic properties in the global scope. The Basic usecase we have is to set noop for
Basically a hook during the setup which can take Globals object and passed on to the fastboot constructor as Thank you for looking into this task. |
Ok great! I think the idea here will be to have the generator create a module.exports = {
resilient: false,
sandboxGlobals: {}
}; Addon docs does something similar for its custom config, so I'm going to steal that code :D |
@ryanto, sorry I missed responding to the comment. That looks like a good Idea. Thank you for looking into that. I have some time right now. If you have can more detail on the generation logic, I can work on a PR for that. |
Hey, closing this issue since this is complete! Docs are here: https://embermap.github.io/ember-cli-fastboot-testing/docs/fastboot-configuration |
As a first step we can do this as a one time boot config for ECFT's FastBoot instance.
In the future it might be nice to do a per test sandbox.
The text was updated successfully, but these errors were encountered: