Spec URL: https://jsmith.fedorapeople.org/Packaging/nodejs-snapdragon/nodejs-snapdragon.spec SRPM URL: https://jsmith.fedorapeople.org/Packaging/nodejs-snapdragon/nodejs-snapdragon-0.11.0-1.fc27.src.rpm Description: Easy-to-use plugin system for parsers and compilers Fedora Account System Username: jsmith
ive got errors in the tests: 8 passing (18ms) 15 failing 1) compiler "before each" hook for "should throw an error when a compiler is missing": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Context.<anonymous> (test/compile.js:13:14) 2) parser "before each" hook for "should return true if "node" is the given "type"": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Context.<anonymous> (test/nodes.js:13:14) 3) parser "before each" hook for "should throw an error when invalid args are passed to parse": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Context.<anonymous> (test/parse.js:11:14) 4) ast "before each" hook for "should add pattern to orig property": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Context.<anonymous> (test/parse.js:140:14) 5) parser "before each" hook for "should return an instance of Parser:": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Context.<anonymous> (test/parser.js:10:14) 6) .capture (plugin usage) "before each" hook for "should throw an error when invalid args are passed to parse": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Snapdragon.<anonymous> (/usr/lib/node_modules/snapdragon-capture/index.js:20:17) at Snapdragon.use (index.js:60:6) at Context.<anonymous> (test/snapdragon.capture.js:12:16) 7) ast "before each" hook for "should add pattern to orig property": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Snapdragon.<anonymous> (/usr/lib/node_modules/snapdragon-capture/index.js:20:17) at Snapdragon.use (index.js:60:6) at Context.<anonymous> (test/snapdragon.capture.js:62:16) 8) snapdragon.compiler "before each" hook for "should throw an error when a compiler is missing": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Context.<anonymous> (test/snapdragon.compile.js:12:15) 9) parser errors should throw an error when invalid args are passed to parse: AssertionError [ERR_ASSERTION]: 'this.ast.pushNode is not a function' == 'expected a string' + expected - actual +expected a string -this.ast.pushNode is not a function at Context.<anonymous> (test/snapdragon.parse.js:20:16) 10) parser .set(): should register middleware: TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Context.<anonymous> (test/snapdragon.parse.js:28:17) 11) parser .set(): should use middleware to parse: TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Context.<anonymous> (test/snapdragon.parse.js:43:17) 12) parser .set(): should create ast node:: TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Context.<anonymous> (test/snapdragon.parse.js:58:17) 13) parser .set(): should be chainable:: TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Context.<anonymous> (test/snapdragon.parse.js:72:17) 14) ast "before each" hook for "should add pattern to orig property": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Context.<anonymous> (test/snapdragon.parse.js:101:15) 15) parser "before each" hook for "should expose a regex cache with regex from registered parsers": TypeError: this.ast.pushNode is not a function at Parser.init (lib/parser.js:73:14) at new Parser (lib/parser.js:31:8) at Snapdragon.get (index.js:186:27) at Snapdragon.<anonymous> (/usr/lib/node_modules/snapdragon-capture/index.js:20:17) at Snapdragon.use (index.js:60:6) at Context.<anonymous> (test/snapdragon.regex.js:12:16)
Package accepted.
'Requested package in ticket https://pagure.io/releng/fedora-scm-requests/issue/1570'
(fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/nodejs-snapdragon
In rawhide, closing bug
Requested package in ticket https://pagure.io/releng/fedora-scm-requests/issue/1771