Skip to content

Commit

Permalink
skip fastboot tests until it supports staticEmberSource
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Mar 19, 2024
1 parent d247709 commit d1c7b11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
22 changes: 2 additions & 20 deletions tests/fixtures/fastboot-app/ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
'use strict';

const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const { prebuild } = require('@embroider/compat');

module.exports = function (defaults) {
let app = new EmberApp(defaults, {});

const Webpack = require('@embroider/webpack').Webpack;
return require('@embroider/compat').compatBuild(app, Webpack, {
skipBabel: [
{
package: 'qunit',
},
],
packagerOptions: {
webpackConfig: {
optimization: {
splitChunks: {
// In these tests we want to guarantee that the lazily imported
// things really get handled lazily by webpack, even if they're too
// small for the optimizer to normally bother with
minSize: 1,
},
},
},
},
});
return prebuild(app);
};
2 changes: 2 additions & 0 deletions tests/scenarios/fastboot-app-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ appScenarios

merge(project.files, loadFromFixtureData('fastboot-app'));
})
// TODO remove once https://github.com/ember-fastboot/ember-cli-fastboot/issues/925 is fixed
.skip('canary-fastboot-app-test')
.forEachScenario(scenario => {
Qmodule(scenario.name, function (hooks) {
let app: PreparedApp;
Expand Down

0 comments on commit d1c7b11

Please sign in to comment.