(node, test, message, stackCrawlMark)
| 2789 | } |
| 2790 | Debug.assertNode = assertNode; |
| 2791 | function assertNotNode(node, test, message, stackCrawlMark) { |
| 2792 | if (shouldAssertFunction(1 /* AssertionLevel.Normal */, "assertNotNode")) { |
| 2793 | assert(node === undefined || test === undefined || !test(node), message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node.kind), " should not have passed test '").concat(getFunctionName(test), "'."); }, stackCrawlMark || assertNotNode); |
| 2794 | } |
| 2795 | } |
| 2796 | Debug.assertNotNode = assertNotNode; |
| 2797 | function assertOptionalNode(node, test, message, stackCrawlMark) { |
| 2798 | if (shouldAssertFunction(1 /* AssertionLevel.Normal */, "assertOptionalNode")) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…