UNPKG

dreemgl

Version:

DreemGL is an open-source multi-screen prototyping framework for mediated environments, with a visual editor and shader styling for webGL and DALi runtimes written in JavaScript. As a toolkit for gpu-accelerated multiscreen development, DreemGL includes

20 lines (18 loc) 503 B
var Glob = require("../glob.js").Glob var test = require('tap').test test('globstar should not have dupe matches', function(t) { var pattern = 'a/**/[gh]' var g = new Glob(pattern, { cwd: __dirname }) var matches = [] g.on('match', function(m) { console.error('match %j', m) matches.push(m) }) g.on('end', function(set) { console.error('set', set) matches = matches.sort() set = set.sort() t.same(matches, set, 'should have same set of matches') t.end() }) })