You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 19 Dec 2016 08:20, "Corey Cole" ***@***.***> wrote:
When following the Unit Testing an Ionic2 project
<http://lathonez.github.io/2016/ionic-2-unit-testing/> tutorial, I ran
into an error running the simple test.
Error: No provider for GestureController!
I fixed this by adding the following to my test.ts file:
import { App, MenuController, NavController, Platform, Config, Keyboard, Form, IonicModule, GestureController } from 'ionic-angular';
...
providers: [
App, Platform, Form, Keyboard, MenuController, NavController, GestureController,
{provide: Config, useClass: ConfigMock}
]
I'd love to know more about why this happened. My project was generated
using the ionic-cli after the release of rc3.
Environment
"ionic-angular": "2.0.0-rc.3"
"angular-cli": "^1.0.0-beta.22-1"
"karma": "1.3.0"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AG5tSLaJkMPRP83I59voYF4A6UScdsttks5rJj40gaJpZM4LQeOO>
.
When following the Unit Testing an Ionic2 project tutorial, I ran into an error running the simple test.
I fixed this by adding the following to my
test.ts
file:...
I'd love to know more about why this happened. My project was generated using the ionic-cli after the release of rc3.
Environment
The text was updated successfully, but these errors were encountered: