1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | 'use strict';
|
10 |
|
11 | var blueprintTestRunner = require('blueprint-test-runner');
|
12 |
|
13 | module.exports = function(grunt) {
|
14 | grunt.registerMultiTask('blueprint-test-runner', 'API Blueprint Protractor Test Runner', function() {
|
15 | var drakovArgs = this.data.drakov;
|
16 | var protractorArgs = this.data.protractor;
|
17 | var browserName = this.data.browserName;
|
18 |
|
19 | blueprintTestRunner.start({
|
20 | drakov: drakovArgs,
|
21 | protractor: protractorArgs,
|
22 | browserName: browserName
|
23 | }, this.async());
|
24 | });
|
25 | };
|