TryGhost/Ghost

View on GitHub
ghost/admin/mirage/config/themes.js

Summary

Maintainability
A
1 hr
Test Coverage

Function mockThemes has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function mockThemes(server) {
    server.get('/themes');

    server.get('/themes/active/', function ({themes}) {
        const theme = themes.findBy({active: true});
Severity: Minor
Found in ghost/admin/mirage/config/themes.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status