Move precompiler test filter into describe
This allows us to play nicely with in-browser tests
This commit is contained in:
+8
-8
@@ -1,14 +1,14 @@
|
||||
/*global shouldThrow */
|
||||
|
||||
// NOP Under non-node environments
|
||||
if (typeof process === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
var Handlebars = require('../lib'),
|
||||
Precompiler = require('../lib/precompiler');
|
||||
|
||||
describe('precompiler', function() {
|
||||
// NOP Under non-node environments
|
||||
if (typeof process === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
var Handlebars = require('../lib'),
|
||||
Precompiler = require('../lib/precompiler');
|
||||
|
||||
var log,
|
||||
logFunction;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user