Skip to content

Commit f34eb58

Browse files
Update tests to be compatible with newer Yeoman generator
1 parent 4580412 commit f34eb58

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

test/templates/angular.spec.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ import { getValue, getCssPropertyValue } from './util/webdriverio';
1010
const appDir = path.resolve(__dirname, '../generated/angular');
1111
const publishedAppDir = path.resolve(appDir, './bin/Release/published');
1212
if (!process.env.SKIP_PROJECT_GENERATION) {
13-
generateProjectSync(appDir, { framework: 'angular-2', name: 'Test App', tests: false });
13+
generateProjectSync(appDir, {
14+
framework: 'angular-2',
15+
name: 'Test App',
16+
sdkVersion: '1.0.0-preview2-1-003177',
17+
tests: false
18+
});
1419
publishProjectSync(appDir, publishedAppDir);
1520
}
1621

test/templates/util/yeoman.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const yoPackageDirAbsolute = path.resolve('./node_modules/yo');
99
export interface GeneratorOptions {
1010
framework: string;
1111
name: string;
12+
sdkVersion?: string;
1213
tests?: boolean;
1314
}
1415

0 commit comments

Comments
 (0)