Yeah, I was planning to look into this today.

-
Best regards, Vladimir


-----Original Message-----
From: Shazron [mailto:shaz...@gmail.com] 
Sent: Friday, April 29, 2016 3:50 AM
To: dev@cordova.apache.org
Subject: Re: help with "npm test" for cordova-lib

Can someone help, perhaps Vladimir who wrote the tests can shed some light on 
how to fix this issue?



On Mon, Apr 25, 2016 at 10:57 AM, Carlos Santana <csantan...@gmail.com>
wrote:

> It's jasmine test that is failing [1]
>
> Does this means that jasmine tests are not running in a continuously? 
> Any reason why are they not running in Travis?
>
> I can't figure out what is the test trying to test:
> it('should successfully add a plugin using relative path when running 
> from subdir inside of project',
>
> So I need some help trying to fix it.
>
> [1]:
>
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/spec-cor
> dova/plugin.spec.js#L171
>
>
> On Mon, Apr 25, 2016 at 12:51 PM Jesse <purplecabb...@gmail.com> wrote:
>
> > Travis is running this:
> > - git clone https://github.com/apache/cordova-js --depth 10
> > - cd cordova-lib
> > - npm link ../cordova-js
> > - npm link ../cordova-common
> > - npm link ../cordova-serve
> > - npm install
> > - "(cd ../cordova-common && npm test)"
> > - "npm run ci"
> >
> > There are a lot of different things that could affect the tests, 
> > which cordova-js&|common&|serve you have installed/linked and so on.
> > Travis is essentially doing 'npm run ci' which does not run jasmine, 
> > so
> the
> > issue is probably a failing jasmine test.
> > Can you try running 'npm run ci' and seeing if that passes?
> >
> >
> >
> > @purplecabbage
> > risingj.com
> >
> > On Sat, Apr 23, 2016 at 1:53 PM, Carlos Santana 
> > <csantan...@gmail.com>
> > wrote:
> >
> > > I do't get it then, Travis is green, so Travis not running same 
> > > test
> > suite
> > > as "npm test"?
> > >
> > > On Fri, Apr 22, 2016 at 9:11 PM Shazron <shaz...@gmail.com> wrote:
> > >
> > > > I'm seeing the same. Using node 0.12.7
> > > >
> > > >
> > > > On Fri, Apr 22, 2016 at 12:44 PM, Carlos Santana <
> csantan...@gmail.com
> > >
> > > > wrote:
> > > >
> > > > > I'm seeing 2 test failures when I do "npm test"
> > > > >
> > > > > Anyone seeing the same? Wonder what I have setup wrong here:
> > > > >
> > > > > Here is a paste 
> > > > > https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%
> > > > > 2fpastebin.com%2f4E4c40X5&data=01%7c01%7cv-vlkoti%40microsoft.
> > > > > com%7c0b976f09a98748ccaf1c08d36fc84313%7c72f988bf86f141af91ab2
> > > > > d7cd011db47%7c1&sdata=05hD%2f6dwDQ7y4Vgxfx9eYsrzZnHuXFe2pwFIY9
> > > > > P92wQ%3d of my output
> > > > >
> > > > > I thought it was node 5, but then swift to node 4 and the same.
> > > > > This is after making sure all npm links are correct with "coho
> > > npm-link"
> > > > >
> > > >
> > >
> >
>

Reply via email to