Regaez / grav-plugin-api

A REST API plugin for GravCMS
MIT License
27 stars 6 forks source link

fix: updatePlugins test returning inconsistent result #76

Open Regaez opened 4 years ago

Regaez commented 4 years ago

The test to check whether updatePlugins removes null properties is buggy: sometimes it passes, sometimes it fails. We should investigate why this test is inconsistent. The functionality appears to work exactly as intended, so I think it is an issue with the test environment.

Perhaps it is to do with the config reload in the handler function?