Git Product home page Git Product logo

Comments (4)

Raagh avatar Raagh commented on May 29, 2024 3

@Tucaen Awesome man! that is a really helpful bug report. Thank you very much. I will do some investigation about it and see what I can find. I will report here when I get some new information. Hopefully I can replicate this, also I will check if there is a chance for me to allow people include some extra commands to the ng test for special cases like this one :)

from angular-karma_test-explorer.

Raagh avatar Raagh commented on May 29, 2024 2

Hi @dylansteen thank you for reporting this, indeed I am working on a fix just as you mentioned, giving the user the possibility to add parameters to the call. I will let you know here when this fix is done.

from angular-karma_test-explorer.

Raagh avatar Raagh commented on May 29, 2024 1

since 1.2.1 there is two new properties, angularProcessCommand which is a string and you guys should use node --max_old_space_size=4000 ./node_modules/@angular/cli/bin/ng test.

and angularProcessArguments which is an array of strings and you guys can use
--source-map=true, --code-coverage=true

be aware that I am not checking every single possibility you could setup in this fields. if you don't do things properly you could cause the Test Explorer to stop working. I will not support any specific logic preventing edge cases.

Just an example:
Arguments: --watch=true and --karmaConfig=karmaConfig will mess up the functionality of the system. don't use them.

from angular-karma_test-explorer.

dylansteen avatar dylansteen commented on May 29, 2024

I'm experiencing a similar, but not quite the same issue. Our project is very large and sometimes experiences a memory issue.

image

I see that the Angular team is trying to work on these issues, see here:

angular/angular-cli#13734 (comment)

I would really love if the ability to pass extra commands was added, because we use the same solution in order to run the app (--max_old_space_size) but we also pass some other arguments, notably --source-map=true and --code-coverage.

Having the ability to have all these options would mean I could view code coverage from running tests with this extension, directly in vscode using the extension "Coverage Gutters"... which would be amazing!

from angular-karma_test-explorer.

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.