mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Update tests to be compatible with newer Yeoman generator
This commit is contained in:
@@ -10,7 +10,12 @@ import { getValue, getCssPropertyValue } from './util/webdriverio';
|
|||||||
const appDir = path.resolve(__dirname, '../generated/angular');
|
const appDir = path.resolve(__dirname, '../generated/angular');
|
||||||
const publishedAppDir = path.resolve(appDir, './bin/Release/published');
|
const publishedAppDir = path.resolve(appDir, './bin/Release/published');
|
||||||
if (!process.env.SKIP_PROJECT_GENERATION) {
|
if (!process.env.SKIP_PROJECT_GENERATION) {
|
||||||
generateProjectSync(appDir, { framework: 'angular-2', name: 'Test App', tests: false });
|
generateProjectSync(appDir, {
|
||||||
|
framework: 'angular-2',
|
||||||
|
name: 'Test App',
|
||||||
|
sdkVersion: '1.0.0-preview2-1-003177',
|
||||||
|
tests: false
|
||||||
|
});
|
||||||
publishProjectSync(appDir, publishedAppDir);
|
publishProjectSync(appDir, publishedAppDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ const yoPackageDirAbsolute = path.resolve('./node_modules/yo');
|
|||||||
export interface GeneratorOptions {
|
export interface GeneratorOptions {
|
||||||
framework: string;
|
framework: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
sdkVersion?: string;
|
||||||
tests?: boolean;
|
tests?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user