Skip to content

unit tests for desktop source code #1336

@jgadsden

Description

@jgadsden

Describe what problem your feature request solves:
The unit tests for the desktop files are inadequate:

------------|---------|----------|---------|---------|--------------------------
File        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s        
------------|---------|----------|---------|---------|--------------------------
All files   |   16.07 |    17.94 |   10.76 |   16.14 |                          
 desktop.js |       0 |        0 |       0 |       0 | 10-178                   
 logger.js  |   76.92 |    33.33 |     100 |   76.92 | 12-15                    
 menu.js    |    18.4 |    17.39 |   14.28 |   18.51 | ...9,351-424,443-453,461 
 utils.js   |     100 |      100 |     100 |     100 |                          
------------|---------|----------|---------|---------|--------------------------
Test Suites: 4 passed, 4 total
Tests:       54 passed, 54 total

Describe the solution you'd like:
extend the unit tests for the desktop source to reach at least 80% of
Statements, Branches, Functions and Lines

Additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions