Skip to content

Commit db2cec1

Browse files
committed
chore: 🤖 re-enable mirage for core dummy app
1 parent 601df81 commit db2cec1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎addons/api/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ module.exports = {
9898
_includeMirageInBuild() {
9999
const env = this.parent.app?.env ?? 'production';
100100
const config = this.project.config(env);
101-
return config.mirage.enabled || env !== 'production';
101+
return config.mirage?.enabled || env !== 'production';
102102
},
103103
};

‎addons/core/tests/dummy/config/environment.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ module.exports = function (environment) {
4141
namespace: 'v1',
4242
},
4343

44+
mirage: {
45+
enabled: true,
46+
},
47+
4448
enableConfirmService: false,
4549
};
4650

0 commit comments

Comments
 (0)