Angular e2e fails with 'Angular can't be found' because of Redux enhancer?
up vote
1
down vote
favorite
I have an angular application that is boilerplate, nothing meaningful, literally the 'welcome' template.
I'm trying to run ng e2e but it fails, checking the chrome tab console before it disappears show me the same error I get when I have redux dev tools enabled but I don't have the extension in my browser.
The code in my app.module:
export class AppModule
constructor(devTools: DevToolsExtension, ngRedux: NgRedux<IAppState>)
let enhancers = isDevMode() ? [devTools.enhancer()] : ;
ngRedux.configureStore(rootReducer, INITIAL_STATE, , enhancers);
Is there any way I could make e2e work and also have this enabled or should I just give up on redux dev tools?
angular redux angular-e2e redux-devtools angular-redux
add a comment |
up vote
1
down vote
favorite
I have an angular application that is boilerplate, nothing meaningful, literally the 'welcome' template.
I'm trying to run ng e2e but it fails, checking the chrome tab console before it disappears show me the same error I get when I have redux dev tools enabled but I don't have the extension in my browser.
The code in my app.module:
export class AppModule
constructor(devTools: DevToolsExtension, ngRedux: NgRedux<IAppState>)
let enhancers = isDevMode() ? [devTools.enhancer()] : ;
ngRedux.configureStore(rootReducer, INITIAL_STATE, , enhancers);
Is there any way I could make e2e work and also have this enabled or should I just give up on redux dev tools?
angular redux angular-e2e redux-devtools angular-redux
can you post the tests complete file
– Sajeetharan
Nov 11 at 16:45
@Sajeetharan the test code does not matter on this one. REDUX apps do not work without the dev-tools-extensions installed at all in 'development' mode. So I'm looking at how to disable it while running e2e or running e2e with 'production' settings or making that chrome instance have that redux dev-tools extensions. If I disable the redux part all is good with the tests.
– SebastianG
Nov 11 at 16:52
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have an angular application that is boilerplate, nothing meaningful, literally the 'welcome' template.
I'm trying to run ng e2e but it fails, checking the chrome tab console before it disappears show me the same error I get when I have redux dev tools enabled but I don't have the extension in my browser.
The code in my app.module:
export class AppModule
constructor(devTools: DevToolsExtension, ngRedux: NgRedux<IAppState>)
let enhancers = isDevMode() ? [devTools.enhancer()] : ;
ngRedux.configureStore(rootReducer, INITIAL_STATE, , enhancers);
Is there any way I could make e2e work and also have this enabled or should I just give up on redux dev tools?
angular redux angular-e2e redux-devtools angular-redux
I have an angular application that is boilerplate, nothing meaningful, literally the 'welcome' template.
I'm trying to run ng e2e but it fails, checking the chrome tab console before it disappears show me the same error I get when I have redux dev tools enabled but I don't have the extension in my browser.
The code in my app.module:
export class AppModule
constructor(devTools: DevToolsExtension, ngRedux: NgRedux<IAppState>)
let enhancers = isDevMode() ? [devTools.enhancer()] : ;
ngRedux.configureStore(rootReducer, INITIAL_STATE, , enhancers);
Is there any way I could make e2e work and also have this enabled or should I just give up on redux dev tools?
angular redux angular-e2e redux-devtools angular-redux
angular redux angular-e2e redux-devtools angular-redux
asked Nov 11 at 16:30
SebastianG
711115
711115
can you post the tests complete file
– Sajeetharan
Nov 11 at 16:45
@Sajeetharan the test code does not matter on this one. REDUX apps do not work without the dev-tools-extensions installed at all in 'development' mode. So I'm looking at how to disable it while running e2e or running e2e with 'production' settings or making that chrome instance have that redux dev-tools extensions. If I disable the redux part all is good with the tests.
– SebastianG
Nov 11 at 16:52
add a comment |
can you post the tests complete file
– Sajeetharan
Nov 11 at 16:45
@Sajeetharan the test code does not matter on this one. REDUX apps do not work without the dev-tools-extensions installed at all in 'development' mode. So I'm looking at how to disable it while running e2e or running e2e with 'production' settings or making that chrome instance have that redux dev-tools extensions. If I disable the redux part all is good with the tests.
– SebastianG
Nov 11 at 16:52
can you post the tests complete file
– Sajeetharan
Nov 11 at 16:45
can you post the tests complete file
– Sajeetharan
Nov 11 at 16:45
@Sajeetharan the test code does not matter on this one. REDUX apps do not work without the dev-tools-extensions installed at all in 'development' mode. So I'm looking at how to disable it while running e2e or running e2e with 'production' settings or making that chrome instance have that redux dev-tools extensions. If I disable the redux part all is good with the tests.
– SebastianG
Nov 11 at 16:52
@Sajeetharan the test code does not matter on this one. REDUX apps do not work without the dev-tools-extensions installed at all in 'development' mode. So I'm looking at how to disable it while running e2e or running e2e with 'production' settings or making that chrome instance have that redux dev-tools extensions. If I disable the redux part all is good with the tests.
– SebastianG
Nov 11 at 16:52
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53250791%2fangular-e2e-fails-with-angular-cant-be-found-because-of-redux-enhancer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
can you post the tests complete file
– Sajeetharan
Nov 11 at 16:45
@Sajeetharan the test code does not matter on this one. REDUX apps do not work without the dev-tools-extensions installed at all in 'development' mode. So I'm looking at how to disable it while running e2e or running e2e with 'production' settings or making that chrome instance have that redux dev-tools extensions. If I disable the redux part all is good with the tests.
– SebastianG
Nov 11 at 16:52