Skip to content

Commit

Permalink
fix Symbol test under v0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasq committed Dec 2, 2019
1 parent 6e20958 commit bcdb3a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-json.excec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ var JsonExec = require('./');
var json_comp = require('./').json_comp;
var json_exec = require('./').json_exec;

if (typeof Symbol === 'undefined') var Symbol = function(name) { return String(name) };

module.exports = {
'should compile template with function': function(t) {
t.ok(json_comp({}) instanceof JsonExec);
Expand Down

0 comments on commit bcdb3a1

Please sign in to comment.