From 4c7dd4ad9aa547705528441f736a3066128cf972 Mon Sep 17 00:00:00 2001 From: Charles Fries <charliefries@icloud.com> Date: Wed, 24 Apr 2024 10:40:00 -0700 Subject: [PATCH 1/2] WIP --- tests/dummy/config/fastboot.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/dummy/config/fastboot.js diff --git a/tests/dummy/config/fastboot.js b/tests/dummy/config/fastboot.js new file mode 100644 index 0000000..c153fa8 --- /dev/null +++ b/tests/dummy/config/fastboot.js @@ -0,0 +1,11 @@ +// https://github.com/ember-fastboot/ember-cli-fastboot#fastboot-configuration + +module.exports = function () { + return { + buildSandboxGlobals(defaultGlobals) { + return Object.assign({}, defaultGlobals, { + fetch, + }); + }, + }; +}; \ No newline at end of file From f6a0721f5b05e761417ec0903dfdf499399d1e6c Mon Sep 17 00:00:00 2001 From: Charles Fries <charliefries@icloud.com> Date: Wed, 24 Apr 2024 12:16:35 -0700 Subject: [PATCH 2/2] Lint --- tests/dummy/config/fastboot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dummy/config/fastboot.js b/tests/dummy/config/fastboot.js index c153fa8..222608c 100644 --- a/tests/dummy/config/fastboot.js +++ b/tests/dummy/config/fastboot.js @@ -8,4 +8,4 @@ module.exports = function () { }); }, }; -}; \ No newline at end of file +};