fix types

This commit is contained in:
DIYgod
2019-01-31 11:57:57 +08:00
parent 196220868d
commit 3baf2e2b86
2 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ async function checkRSS(response) {
expect(parsed.description).toEqual(expect.any(String));
expect(parsed.link).toEqual(expect.any(String));
expect(parsed.lastBuildDate).toEqual(expect.any(String));
expect(parsed.ttl).toEqual(config.cacheExpire);
expect(parsed.ttl).toEqual(config.cacheExpire + '');
expect(parsed.items).toEqual(expect.any(Array));
checkDate(parsed.lastBuildDate);