mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +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 publishedAppDir = path.resolve(appDir, './bin/Release/published');
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ const yoPackageDirAbsolute = path.resolve('./node_modules/yo');
|
||||
export interface GeneratorOptions {
|
||||
framework: string;
|
||||
name: string;
|
||||
sdkVersion?: string;
|
||||
tests?: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user