Giter Club home page Giter Club logo

Comments (11)

ShinyLeee avatar ShinyLeee commented on June 30, 2024

@johanbrook
I got test failure without report when I test publish-composite function.
image

But why in meteor/todos, the publish-composite function can test well?

I checked the package version, meteor/todos got [email protected], and in my project it was johanbrook:[email protected]. But why the older package can test well?

from meteor-publication-collector.

johanbrook avatar johanbrook commented on June 30, 2024

Hm, not sure why they use an older version (https://github.com/meteor/todos/blob/master/.meteor/packages#L73).

Perhaps some recent version of this package broke publish-composite.

from meteor-publication-collector.

workflow avatar workflow commented on June 30, 2024

@ShinyLeee I'm using the latest versions of both packages, and it works fine here!

If you provide us with a reproduction, I'm happy to see if I can help.

from meteor-publication-collector.

ShinyLeee avatar ShinyLeee commented on June 30, 2024

@workflow
Thanks for your kindness,here is reproduction.

from meteor-publication-collector.

workflow avatar workflow commented on June 30, 2024

@ShinyLeee Hmm your repro isn't failing at my end it seems!

screenshot9

This is on Ubuntu 14.04.

I noted some contradictory error logs here:

I20170127-12:34:43.279(1)? MochaRunner.runServerTests: Starting server side tests with run id ZF6w9b9pbeT6jzEhw
W20170127-12:34:43.743(1)? (STDERR) MochaRunner.runServerTests: failures: 1
I20170127-12:35:34.723(1)? MochaRunner.runServerTests: Starting server side tests with run id LmuGAjtqKrtXnG9XN
W20170127-12:35:34.762(1)? (STDERR) MochaRunner.runServerTests: failures: 0
I20170127-12:35:35.695(1)? MochaRunner.runServerTests: Starting server side tests with run id EzWiCWiJ97mSXrNX2
W20170127-12:35:35.758(1)? (STDERR) MochaRunner.runServerTests: failures: 1

but from the browser output, the tests seem to be passing.

I never triedy practicalmeteor:mocha as a test driver before, let me know if I'm missing something here.

from meteor-publication-collector.

ShinyLeee avatar ShinyLeee commented on June 30, 2024

Yeah, the problem is terminal got failure, but browser not show it.
Can u tell me which test driver package used in your project?

from meteor-publication-collector.

workflow avatar workflow commented on June 30, 2024

@ShinyLeee I am currently using dispatch:mocha, since running only server-side tests.

meteor/todos is using dispatch:mocha-phantomjs

from meteor-publication-collector.

ShinyLeee avatar ShinyLeee commented on June 30, 2024

@workflow After use dispatch:mocha package, I have found specific error message in console.The error show done() called multiple times.
image

from meteor-publication-collector.

workflow avatar workflow commented on June 30, 2024

@ShinyLeee Thank you for reporting and following up!

Apart from #16, everything else seems to work fine with publish-composite, at least on my end. Would you agree that this issue can therefore be closed?

from meteor-publication-collector.

rgnevashev avatar rgnevashev commented on June 30, 2024

this is working with publishComposite, you can close ticket.

from meteor-publication-collector.

ShinyLeee avatar ShinyLeee commented on June 30, 2024

Yeah!Work fine after 1.0.6. You can close it.

from meteor-publication-collector.

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.