Skip to content

Commit

Permalink
ope
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Dec 3, 2024
1 parent 3cd9422 commit e256e16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion test-scenarios/doubly-indirect-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ function makeAddon() {
'from-sample-addon.js': `
import Component from '@ember/component';
import { computed } from '@ember/object';
import { capitalize } from '@ember/string';
import layout from '../templates/components/from-sample-addon';
import { makeMessage } from 'some-lib';
export default Component.extend({
layout,
message: computed(function() {
return makeMessage();
return capitalize(makeMessage());
})
});
`,
Expand Down Expand Up @@ -128,6 +129,7 @@ appScenarios
// top-level auto-import is mandatory
project.linkDependency('ember-auto-import', { baseDir: __dirname });
project.linkDependency('webpack', { baseDir: __dirname });
project.linkDependency('@ember/string-', { baseDir: __dirname, resolveName: '@ember/string-v4' });

merge(project.files, {
app: {
Expand Down
2 changes: 0 additions & 2 deletions test-scenarios/sample-addon-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ addonScenarios
import Component from '@ember/component';
import layout from '../templates/components/from-sample-addon';
import { capitalize } from 'lodash-es';
import '@ember/string';
import { computed } from '@ember/object';
export default Component.extend({
Expand Down Expand Up @@ -213,7 +212,6 @@ addonScenarios
project.linkDependency('ember-auto-import', { baseDir: __dirname });
project.linkDependency('webpack', { baseDir: __dirname });
project.linkDependency('lodash-es', { baseDir: __dirname });
project.linkDependency('@ember/string-', { baseDir: __dirname, resolveName: '@ember/string-v4' });
})
.forEachScenario(scenario => {
Qmodule(scenario.name, function (hooks) {
Expand Down

0 comments on commit e256e16

Please sign in to comment.