Skip to content

Commit

Permalink
Updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwilaby committed May 8, 2019
1 parent d927ed6 commit f6a6cbc
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
import { normalize, join } from 'path';

import { logEntry, LogLevel, textItem, luisEditorDeepLinkItem } from '@bfemulator/sdk-shared';
import { SharedConstants } from '@bfemulator/app-shared';
import { mount } from 'enzyme';
Expand Down Expand Up @@ -310,9 +308,6 @@ describe('The Inspector component', () => {
const instance = node.instance();
const wv: HTMLElement = instance.createWebView({ botHash: 'botHash', inspector: { src: 'inspectorSrc' } });
expect(wv).toBeTruthy();
expect(wv.getAttribute('preload')).toBe(
normalize(join('file://', 'app-path', '/node_modules/@bfemulator/client/public/inspector-preload.js'))
);
expect(wv.getAttribute('src')).toBe(encodeURI('inspectorSrc'));
expect(wv.getAttribute('partition')).toBe('persist:botHash');
});
Expand Down

0 comments on commit f6a6cbc

Please sign in to comment.