UNPKG

715 BJavaScriptView Raw
1/*
2 * grunt-blueprint-test-runner
3 * https://github.com/Aconex/grunt-blueprint-test-runner
4 *
5 * Copyright (c) 2014 Yakov Khalinsky
6 * Licensed under the MIT license.
7 */
8
9'use strict';
10
11var blueprintTestRunner = require('blueprint-test-runner');
12
13module.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};