javascript - Jasmine/Protractor ReferenceError: inject is not defined with Angular + ngMocks -
I am trying to run an E2A test with angularity so that I can inject cookies. I add angular.js and angular-mocks.js files to my specRunner.html.jst file - I do not use grunting to run these tests because bower_components / jasmine / grunting / templates are located in strange, because I guess And
ReferenceError: not defined by needle
pointing to my before block blocking
code:.
Description ('portfolio manager route', function () {var testedId = '1'; expect_tabs_len_start = 0; var expect_tabs_len_end = 2; company_count = 0; ..., "drugname_full": ["Ambien", 2], "drugname_generic": ["Zolpidem": "[" Pfe "]," company_tick ": [" PFE ", 1]," company_name ": [" CEPHALON " ", 5]}; beforeEach (function ($ cookies injected) {$ cookies ['user_portfolio_name'] = 0;})); ... specRunner.html:
gt; meta charset = "utf-8" & gt; title & gt; & lt; title & Gt; Jasmine Trick Runner VK & lt;% = jasmineVersion%> & lt; / title & gt; & lt; Lin K rel = "Shortcut Keys Kan "Type =" image / PNG "href =" lib / jasmine- <% = jasmine version%> / jasmine_favicon.png "& gt; & gt; link rel =" stylesheet "href =" lib / jasmine - & lt;% = jasmine version%> / jasmine.css ">
Comments
Post a Comment