Skip to content

Commit

Permalink
chore(typescript): test-app remaining files migration
Browse files Browse the repository at this point in the history
  • Loading branch information
BobrImperator committed Dec 23, 2024
1 parent 150a3c6 commit 158658d
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import config from 'test-app/config/environment';

export default class App extends Application {
modulePrefix = config.modulePrefix;
podModulePrefix = config.podModulePrefix;
Resolver = Resolver;
}

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions packages/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"@glint/environment-ember-loose": "^1.5.0",
"@glint/environment-ember-template-imports": "^1.5.0",
"@tsconfig/ember": "^3.0.8",
"@types/ember-qunit": "^6.1.3",
"@types/qunit": "^2.19.12",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"broccoli-asset-rev": "3.0.0",
Expand Down
11 changes: 0 additions & 11 deletions packages/test-app/tests/helpers/resolver.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Application from '../app';
import config from '../config/environment';
import Application from 'test-app/app';
import config from 'test-app/config/environment';
import { setApplication } from '@ember/test-helpers';
import { start } from 'ember-qunit';

Expand Down
10 changes: 10 additions & 0 deletions packages/test-app/types/config/environment.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
declare module 'test-app/config/environment' {
type Config = {
modulePrefix: string;
APP: Record<string, string>;
locationType: string;
rootURL: string;
};

export default {} as Config;
}
55 changes: 54 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 158658d

Please sign in to comment.