PolicyStat / ckeditor-spell-check-plugin-js-dev-edge

User interface enhancements and beta features for http://ckeditor-spellcheck.nanospell.com . This repo is for nanospell developers and trusted partners to modify and fork plugin.js
Other
0 stars 0 forks source link

have a way of resetting the plugin for testing #8

Open caffodian opened 8 years ago

caffodian commented 8 years ago

There isn't a great way of resetting the plugin state, which hurts testability.

For example, if two tests have identical starting HTML, the second test won't make an ajax call, because it will already have suggestions in cache.