diff --git a/test/templates/angular.spec.ts b/test/templates/angular.spec.ts index a79b1e8..89344c8 100644 --- a/test/templates/angular.spec.ts +++ b/test/templates/angular.spec.ts @@ -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); } diff --git a/test/templates/util/yeoman.ts b/test/templates/util/yeoman.ts index 12177fc..9f98ede 100644 --- a/test/templates/util/yeoman.ts +++ b/test/templates/util/yeoman.ts @@ -9,6 +9,7 @@ const yoPackageDirAbsolute = path.resolve('./node_modules/yo'); export interface GeneratorOptions { framework: string; name: string; + sdkVersion?: string; tests?: boolean; }