Coder Social home page Coder Social logo

lathonez.github.io's People

Contributors

damned avatar edd avatar j-a-m-l avatar lathonez avatar lucascco avatar muratcorlu avatar saschwarz avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lathonez.github.io's Issues

All tests not working anymore

Hi there,

I followed your tutorial and everything worked fine. The e2e tests still work, but as of today (or at least I saw it today), the unit test part results in the following message:

It seems like you're using a project generated using an old version of the Angular CLI.
The latest CLI now uses webpack and has a lot of improvements including a simpler
workflow, a faster build, and smaller bundles.

To get more info, including a step-by-step guide to upgrade the CLI, follow this link:
https://github.com/angular/angular-cli/wiki/Upgrading-from-Beta.10-to-Beta.14

The app I'm trying that on was created yesterday. Do you have any ideas what the problem might be?

Additional provider required for Unit Testing an Ionic2 project

When following the Unit Testing an Ionic2 project 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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.