Skip to content

Commit 70e66ba

Browse files
committed
Revert "Adding template generation before specs"
This reverts commit 848495a.
1 parent d20c20c commit 70e66ba

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ node_modules
66
.idea/
77
*.iml
88
.cache*
9-
src/app/templates.js
9+
1010
src/connect/static-connect.html
1111
report.json

scripts/test.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ var path = require('path');
3333
var spawn = require('child_process').spawn;
3434
var which = require('which');
3535
var _ = require('lodash');
36-
var generateTemplates = require('./templatize');
3736

3837
var args = [
3938
/**
@@ -78,14 +77,12 @@ which('electron-mocha', function(err, bin) {
7877
cli.abortIfError(err);
7978
cli.debug('Using electron-mocha: ', bin);
8079

81-
generateTemplates(function() {
82-
var proc = spawn(bin, args, opts);
83-
proc.stderr.pipe(process.stderr);
84-
proc.stdout.pipe(process.stdout);
85-
process.stdin.pipe(proc.stdin);
80+
var proc = spawn(bin, args, opts);
81+
proc.stderr.pipe(process.stderr);
82+
proc.stdout.pipe(process.stdout);
83+
process.stdin.pipe(proc.stdin);
8684

87-
proc.on('exit', function(code) {
88-
process.exit(code);
89-
});
85+
proc.on('exit', function(code) {
86+
process.exit(code);
9087
});
9188
});

0 commit comments

Comments
 (0)