Skip to content

Commit

Permalink
Merge pull request #874 from thoov/cleanup-sample-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue authored Jun 24, 2021
2 parents c7f90cc + 9bbbfd6 commit 1bb796a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
3 changes: 0 additions & 3 deletions test-packages/sample-lib/index.js

This file was deleted.

5 changes: 0 additions & 5 deletions test-packages/sample-lib/package.json

This file was deleted.

11 changes: 9 additions & 2 deletions tests/scenarios/fastboot-app-test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
import { appScenarios } from './scenarios';
import { PreparedApp } from 'scenario-tester';
import { PreparedApp, Project } from 'scenario-tester';
import { setupFastboot } from './helpers';
import QUnit from 'qunit';
import merge from 'lodash/merge';
const { module: Qmodule, test } = QUnit;

appScenarios
.map('dynamic-import', project => {
project.linkDependency('@embroider/sample-lib', { baseDir: __dirname });
let sampleLib = new Project('@embroider/sample-lib', '0.0.0');
merge(sampleLib.files, {
'index.js': `export default function () {
return 'From sample-lib';
}`,
});

project.addDependency(sampleLib);
project.linkDependency('ember-cli-fastboot', { baseDir: __dirname });
project.linkDependency('fastboot', { baseDir: __dirname });
project.linkDependency('fastboot-addon', { baseDir: __dirname });
Expand Down
1 change: 0 additions & 1 deletion tests/scenarios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
},
"license": "MIT",
"devDependencies": {
"@embroider/sample-lib": "link:../../test-packages/sample-lib",
"@embroider/macros": "0.42.2",
"bootstrap": "^4.3.1",
"broccoli-funnel": "^3.0.5",
Expand Down
3 changes: 0 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1311,9 +1311,6 @@
resolve "^1.8.1"
semver "^7.3.2"

"@embroider/sample-lib@link:test-packages/sample-lib":
version "0.0.0"

"@embroider/shared-internals@0.41.0":
version "0.41.0"
resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-0.41.0.tgz#2553f026d4f48ea1fd11235501feb63bf49fa306"
Expand Down

0 comments on commit 1bb796a

Please sign in to comment.