MCPcopy Create free account
hub / github.com/chokcoco/iCSS / testDatabaseIntegrity

Method testDatabaseIntegrity

MCP/test-inspiration.js:21–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 async testDatabaseIntegrity() {
22 console.log('🔍 Testing database integrity...\n');
23
24 // 测试表是否存在
25 const tables = [
26 'issues',
27 'css_inspiration',
28 'code_snippets',
29 'demo_styles'
30 ];
31
32 for (const table of tables) {
33 await this.checkTable(table);
34 }
35 }
36
37 checkTable(tableName) {
38 return new Promise((resolve, reject) => {

Callers 1

runAllTestsMethod · 0.95

Calls 1

checkTableMethod · 0.95

Tested by

no test coverage detected