regexper-static/spec/parser/javascript/repeat_any_spec.js
Jeff Avallone c90d09a1e0 Updating karma-browserify
This required updating import paths in the spec files
2015-10-31 12:09:38 -04:00

14 lines
355 B
JavaScript

import javascript from '../../../src/js/parser/javascript/parser.js';
describe('parser/javascript/repeat_any.js', function() {
it('parses "*" as a RepeatAny', function() {
var parser = new javascript.Parser('*');
expect(parser.__consume__repeat_any()).toEqual(jasmine.objectContaining({
minimum: 0,
maximum: -1
}));
});
});