Hans 601f9b38f8 feat(@angular/cli): move angular-cli to @angular/cli (#4328)
This release is otherwise identical to beta.28.
2017-02-01 18:19:50 -08:00

23 lines
542 B
TypeScript

const Command = require('../ember-cli/lib/models/command');
import { CliConfig } from '../models/config';
const E2eCommand = Command.extend({
name: 'e2e',
description: 'Run e2e tests in existing project',
works: 'insideProject',
run: function () {
const E2eTask = require('../tasks/e2e').E2eTask;
this.project.ngConfig = this.project.ngConfig || CliConfig.fromProject();
const e2eTask = new E2eTask({
ui: this.ui,
project: this.project
});
return e2eTask.run();
}
});
export default E2eCommand;