GithubHelp home page GithubHelp logo

Comments (8)

mcanfield avatar mcanfield commented on June 2, 2024

Here is a debug log: https://gist.github.com/mcanfield/39ef9a0dec1fe6fca2e6a948789455a7

from clicker.

lathonez avatar lathonez commented on June 2, 2024

Hey,

Unfortunately it's a very generic error. Most probably you've named karma.conf.js incorrectly or the contents of that file are incorrect.

Suggest the general debug advice:

  • Clone this repo
  • npm install
  • npm test
  • Now you know everything in this framework is OK on your system
  • Diff the root folder of this repo to your own using a visual diff tool (I use meld)

Let me know how you go.

Thanks

from clicker.

mcanfield avatar mcanfield commented on June 2, 2024

Hi @lathonez thanks for the reply. Unfortunately I did go through the general debug advice before posting the issue. I copy/pasted all the config files verbatim (only removing references to clicker). The above gist has 2 log outputs, the first is from my setup the second is from lathonez/clicker. Yours works, mine doesn't.

My general project structure is the same. All my template url's contain ./<template>.html. To reduce complexity I've removed all specs from the suite except one. The only project config differences are in package.json, but those are product dependencies so the differences are as to be expected. I do have a custom ionic webpack.config.js, that shouldn't matter but I removed it temporarily anyway.

The Chrome instance that is launched contains my project file and specs under the webpack:// source. So karma is working up to that point. The only difference between mine and clicker is that clicker has its files successfully being served under the source ng://.

lathonez/clicker files
screen shot 2017-09-18 at 9 21 50 am

mcanfield/project files
screen shot 2017-09-18 at 10 04 28 am

Google also came back with the lamenting reply that this is a generic error. From looking through the karma source code it's clear that the jasmine framework isn't overriding the default __karma__.start global reference, causes the default function to spit out You need to include some adapter that implements __karma__.start method!.

Since nothing jumps out at you I'll rinse and repeat a couple times and explore the track of why jasmine's karma.start function isn't overriding the default karma.start. Worse case, I'll start porting my app piece by piece into a working unit test setup.

Thanks again!

from clicker.

lathonez avatar lathonez commented on June 2, 2024

@mcanfield - can I pull clone the project and have a look or is it closed source?

from clicker.

mcanfield avatar mcanfield commented on June 2, 2024

@lathonez it is private source currently, but will one day be open source. If you have a gitlab account I can give you access, or email you a tarball. Sorry, been super busy last couple days. Thanks for offering.

from clicker.

lathonez avatar lathonez commented on June 2, 2024

Sorry I didn't get back to you. My (free) time only contributes to FOSS.

Happy to discuss contracting.

from clicker.

lathonez avatar lathonez commented on June 2, 2024

If you ended up solving this somehow, please share the solution!

from clicker.

mcanfield avatar mcanfield commented on June 2, 2024

Heya @lathonez no worries. It's only private right now due to how the agency develops software, it will by necessity be FOSS. If you knew who, you'd understand better. In any case, I did not find a resolution and have put the project on the back burner. Maybe things will magically start working once I fire it back up, or Ionic will finally treat testing as a first class citizen... now that's a thought 😃 ! In any case, thank you so much for the triage and follow up!

from clicker.

Related Issues (20)

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.