We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d213aa9 commit cf43651Copy full SHA for cf43651
2 files changed
lib/frameworks/debugprint.js
lib/frameworks/debugprint.ts
@@ -0,0 +1,21 @@
1
+import * as util from 'util';
2
+import {Logger} from '../logger';
3
+import {Runner} from '../runner';
4
+import {RunResults} from '../taskRunner';
5
+
6
+const logger = new Logger('debugger');
7
8
+/**
9
+ * A debug framework which does not actually run any tests, just spits
10
+ * out the list that would be run.
11
+ *
12
+ * @param {Runner} runner The current Protractor Runner.
13
+ * @param {Array} specs Array of Directory Path Strings.
14
+ * @return {Promise} Promise resolved with the test results
15
+ */
16
+export const run = (runner: Runner, specs: Array<string>): Promise<RunResults> => {
17
+ return new Promise(resolve => {
18
+ logger.info(`Resolved spec files: ${util.inspect(specs)}`);
19
+ resolve({failedCount: 0});
20
+ });
21
+};
0 commit comments