()
| 172 | } |
| 173 | |
| 174 | async runAllTests() { |
| 175 | try { |
| 176 | await this.testDatabaseIntegrity(); |
| 177 | await this.testSearchFunctionality(); |
| 178 | await this.testCodeSnippets(); |
| 179 | await this.testDemoStyles(); |
| 180 | await this.generateReport(); |
| 181 | |
| 182 | console.log('\n🎉 All tests completed successfully!'); |
| 183 | console.log('\n💡 You can now use the enhanced iCSS MCP Server with both iCSS articles and CSS-Inspiration demos!'); |
| 184 | |
| 185 | } catch (error) { |
| 186 | console.error('\n❌ Test failed:', error.message); |
| 187 | } finally { |
| 188 | this.db.close(); |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | close() { |
| 193 | this.db.close(); |
no test coverage detected