text: var makeDom=require("../utils").makeDom,traversal=require("../.."),assert=require("assert");describe("traversal",function(){describe("hasAttrib",function(){var e=traversal.hasAttrib;it("doesn't throw on text nodes",function(){var n=makeDom("textnode");assert.doesNotThrow(function(){e(n[0],"some-attrib")})})})});