test(aio): fix test descriptions for ordering of processors

This commit is contained in:
Peter Bacon Darwin
2017-03-21 10:57:58 +00:00
committed by Miško Hevery
parent 20aab64c65
commit fd7b855cfc
5 changed files with 9 additions and 9 deletions

View File

@ -11,12 +11,12 @@ describe('generateApiListDoc processor', () => {
expect(processor.$process).toBeDefined();
});
it('should run after "extra-docs-added"', () => {
it('should run after the correct processor', () => {
const processor = processorFactory();
expect(processor.$runAfter).toEqual(['extra-docs-added']);
});
it('should run before "rendering-docs"', () => {
it('should run before the correct processor', () => {
const processor = processorFactory();
expect(processor.$runBefore).toEqual(['rendering-docs']);
});