From 1640c7008cef30acb9f5a4f86bb279188f014ced Mon Sep 17 00:00:00 2001 From: Steve Mayes Date: Sat, 27 Feb 2016 20:17:37 -0500 Subject: [PATCH] Added additional tests for alternate constructors For those objects built with the alternate constructors / IntroJs.Factory functions, test a subset of the IntroJs object's functions to ensure the IntroJs objects are the correct type. --- intro.js/intro.js-tests.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/intro.js/intro.js-tests.ts b/intro.js/intro.js-tests.ts index 7dc2afd2a..46efe8844 100644 --- a/intro.js/intro.js-tests.ts +++ b/intro.js/intro.js-tests.ts @@ -70,3 +70,11 @@ intro.start() }) .addHints() .clone(); + +introWithElement.start() + .exit() + .clone(); + +introWithQuerySelector.start() + .exit() + .clone();