Giter Club home page Giter Club logo

Comments (7)

janpio avatar janpio commented on May 31, 2024

Thanks, I edited your issue a bit to make it more readable (triple ` to format a code block instead of just a line).

from cordova-ios.

brodybits avatar brodybits commented on May 31, 2024

from cordova-ios.

brodybits avatar brodybits commented on May 31, 2024

from cordova-ios.

regiMario avatar regiMario commented on May 31, 2024

Thanks Chris, that did the trick. I'm new to this ecosphere and followed https://cordova.apache.org/contribute/contribute_guidelines.html which was more general in that regard.

[mario@mac13dev ~/github/cordova-ios]$ git pull
Already up to date.
[mario@mac13dev ~/github/cordova-ios]$ git status --ignored
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
[mario@mac13dev ~/github/cordova-ios]$ npm install
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 810 packages from 426 contributors and audited 3870 packages in 31.82s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
[mario@mac13dev ~/github/cordova-ios]$ npm run unit-tests

> [email protected] unit-tests /Users/mario/github/cordova-ios
> jasmine --config=tests/spec/unit.json

Started
..............................................................................................................................................................................................................................


222 specs, 0 failures
Finished in 14.204 seconds

from cordova-ios.

regiMario avatar regiMario commented on May 31, 2024

I was too quick:

[mario@mac13dev ~/github/cordova-ios]$ npm test

> [email protected] test /Users/mario/github/cordova-ios
> npm run unit-tests && npm run test:component && npm run objc-tests && npm run e2e-tests


> [email protected] unit-tests /Users/mario/github/cordova-ios
> jasmine --config=tests/spec/unit.json

Started
..............................................................................................................................................................................................................................


222 specs, 0 failures
Finished in 16.547 seconds

> [email protected] test:component /Users/mario/github/cordova-ios
> jasmine --config=tests/spec/component.json

Started
....F

Failures:
1) versions get_tool_version method should find pod version.
  Message:
    Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
  Stack:
    Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
        at <Jasmine>
        at ontimeout (timers.js:436:11)
        at tryOnTimeout (timers.js:300:5)
        at listOnTimeout (timers.js:263:5)
        at Timer.processTimers (timers.js:223:10)

5 specs, 1 failure
Finished in 7.146 seconds
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:component: `jasmine --config=tests/spec/component.json`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] test:component script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! Test failed.  See above for more details.

from cordova-ios.

brodybits avatar brodybits commented on May 31, 2024

You need to install the pod tool for that test to pass. It may not be so urgent since it is covered by Travis CI.

from cordova-ios.

brodybits avatar brodybits commented on May 31, 2024

I think we can close this. Please report if you encounter any more issues with npm test.

from cordova-ios.

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.