Node.js based forum software built for the modern web
fix: modify backreference test to not check router.all() calls
Julian Lam7fc329de2f69
diff --git a/test/api.js b/test/api.jsindex fefcdb92e6..6384481903 100644--- a/test/api.js+++ b/test/api.js@@ -199,7 +199,7 @@ describe('API', async () => {});const exclusionPrefixes = ['/api/admin/plugins'];paths = paths.filter(function filterExclusions(path) {- return !exclusionPrefixes.some(prefix => path.path.startsWith(prefix));+ return path.method !== '_all' && !exclusionPrefixes.some(prefix => path.path.startsWith(prefix));});