From c6703a5ea8ce7a837193ecf478c2096d8c6e99e9 Mon Sep 17 00:00:00 2001 From: Drew Williamson Date: Thu, 10 May 2018 15:18:45 -0400 Subject: [PATCH] fix(doc): Spelling updates to comments in plugin.ts(#4797) Updated some of the spelling errors/ punctuation mistakes for clearer understanding. --- lib/plugins.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/plugins.ts b/lib/plugins.ts index b548e4229..1eaf88b1d 100644 --- a/lib/plugins.ts +++ b/lib/plugins.ts @@ -40,10 +40,10 @@ export interface ProtractorPlugin { /** * This is called before the test have been run but after the test framework has - * been set up. Analogous to a config file's `onPreare`. + * been set up. Analogous to a config file's `onPrepare`. * * Very similar to using `setup`, but allows you to access framework-specific - * variables/funtions (e.g. `jasmine.getEnv().addReporter()`). + * variables/functions (e.g. `jasmine.getEnv().addReporter()`). * * @this {Object} bound to module.exports. * @@ -100,7 +100,7 @@ export interface ProtractorPlugin { * * @return {Promise=} Can return a promise, in which case protractor will wait * for the promise to resolve before outputting test results. Protractor - * will *not* wait before executing the next test, however. If the promise + * will *not* wait before executing the next test; however, if the promise * is rejected, a failed assertion is added to the test results. */ postTest?(passed: boolean, testInfo: any): void|Promise;