Git Product home page Git Product logo

Comments (9)

paulmillr avatar paulmillr commented on May 22, 2024

feel free to create files like browser-helpers.js and browser-initialize.js for that

from es6-shim.

ljharb avatar ljharb commented on May 22, 2024

I guess what I'm saying is, why do we have the index.html at all? The order of importance for testing environments imo is node, travis, testling/jepso/browser test clouds, and then maybe a local html file.

from es6-shim.

paulmillr avatar paulmillr commented on May 22, 2024

How to test stuff locally without this file?

from es6-shim.

paulmillr avatar paulmillr commented on May 22, 2024

done?

from es6-shim.

ljharb avatar ljharb commented on May 22, 2024

That's an improvement :-) testling now says ReferenceError: Can't find variable: chai on line 866 on http://git.testling.com/work/paulmillr/repos/31b9315f6a7bd0a3fbb26dc58117e9431a930012.1368770165025/1368770165211.2d094fdc.html

from es6-shim.

ljharb avatar ljharb commented on May 22, 2024

Also, npm test now doesn't work on the command-line. I get ReferenceError: window is not defined in test/browser-onload.js

from es6-shim.

ljharb avatar ljharb commented on May 22, 2024

To test stuff locally, we'd use browserify locally to generate the assets (with node-style requires) and keep the html file. In order to do that, though, it needs to first work on the command line with npm test, and I'm not sure how to do that without first decimating the HTML file

from es6-shim.

paulmillr avatar paulmillr commented on May 22, 2024

npm tests fixd

from es6-shim.

cscott avatar cscott commented on May 22, 2024

Fixed all this in pull request #152.

from es6-shim.

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.