chore: schedule test full routes

This commit is contained in:
DIYgod
2024-03-24 22:36:21 +08:00
parent f837345f36
commit d22a63c6d0
3 changed files with 45 additions and 10 deletions

View File

@@ -2,9 +2,9 @@ import { namespaces } from '../../lib/registry';
import fs from 'node:fs';
import * as path from 'node:path';
import { categories } from './data';
import fullTests from '../../assets/build/test-full-routes.json';
import { getCurrentPath } from '../../lib/utils/helpers';
const fullTests = await (await fetch('https://raw.githubusercontent.com/DIYgod/RSSHub/gh-pages/build/test-full-routes.json')).json();
const testResult = fullTests.testResults[0].assertionResults;
const __dirname = getCurrentPath(import.meta.url);