UNPKG

orionsoft-react-scripts

Version:

Orionsoft Configuration and scripts for Create React App.

12 lines (10 loc) 203 B
var tape = require('tape') var gen = require('./') tape('valid', function(t) { t.same(gen('a', 'b'), 'a.b') t.end() }) tape('invalid', function(t) { t.same(gen('a', '-b'), 'a["-b"]') t.end() })