Git Product home page Git Product logo

Comments (6)

rkatic avatar rkatic commented on June 11, 2024

It's seems the problem is browserify/browserify#775.
Would like if we make testing in local browsers easier. It's essential for testing during developing.

from asap.

kriskowal avatar kriskowal commented on June 11, 2024

The origin probably should be "*". As for Browserify, we’re using on of my other projects Mr, so you can use <script src="../node_modules/mr/boot.js" data-package=".." data-module="test/asap-test"></script> to load during development, or ./node_modules/.bin/mrs test/asap-test.js to generate a bundle.

from asap.

kriskowal avatar kriskowal commented on June 11, 2024

Though it occurs to me that we’re not directly invoking postMessage ever, which is curious. I’m seeing this issue myself after merging #45 locally even when using Mr, and seeing errors across many browsers on Sauce.

Note that this build matrix will probably be out of date if I run the tests on sauce again, which I’ll wait for your acknowledgement before doing.

https://saucelabs.com/u/kriskowal-asap

from asap.

kriskowal avatar kriskowal commented on June 11, 2024

Oh, right. I call it in scaffold to report worker test results. I’ll patch that and rerun.

from asap.

kriskowal avatar kriskowal commented on June 11, 2024

@rkatic I’ve documented the testing procedures https://github.com/kriskowal/asap/blob/master/CONTRIBUTING.md

Note also the existence of test/index.html which will run without a build step in a browser.

from asap.

rkatic avatar rkatic commented on June 11, 2024

👍

from asap.

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.