Giter Site home page Giter Site logo

passThrough option about angular-multimocks HOT 7 OPEN

nabil-boag avatar nabil-boag commented on September 25, 2024
passThrough option

from angular-multimocks.

Comments (7)

omer72 avatar omer72 commented on September 25, 2024

I open changeRequest with a fix for this

from angular-multimocks.

nabil-boag avatar nabil-boag commented on September 25, 2024

Hey @omer72,

Thanks for your PR, I have added a few comments.

from angular-multimocks.

omer72 avatar omer72 commented on September 25, 2024

@nabil-boag I fixed what you asked, I didn't wrote a test since I couldn't run the current tests, they all failed

from angular-multimocks.

nabil-boag avatar nabil-boag commented on September 25, 2024

Can you provide more details about what is going wrong with running tests? What environment are you running in? What is your OS? What node version do you have?

from angular-multimocks.

nabil-boag avatar nabil-boag commented on September 25, 2024
$ grunt build test
Running "jshint:source" (jshint) task
>> 11 files lint free.

Running "jscs:source" (jscs) task
>> 11 files without code style errors.

Running "clean:build" (clean) task
Cleaning "app/build"...OK

Running "copy:build" (copy) task
Created 5 directories, copied 15 files

Running "karma:headless_unit" (karma) task
INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket dxWYn_ZTXdKBQPtxzBAx with id 25048316
..............................
PhantomJS 1.9.8 (Linux 0.0.0): Executed 30 of 30 SUCCESS (0.059 secs / 0.043 secs)

Done, without errors.

from angular-multimocks.

omer72 avatar omer72 commented on September 25, 2024

ruuning on Windows 7 Professional

D:\workspace\git\dev\angular-multimocks>grunt build test
Running "jshint:source" (jshint) task

11 files lint free.

Running "jscs:source" (jscs) task
Invalid line break at Gruntfile.js :
1 |/* global module, require /
------------------------------------^
2 |
3 |module.exports = function (grunt) {
Invalid line break at karma-unit.conf.js :
1 |/
global module /
---------------------------^
2 |
3 |// Karma configuration
Invalid line break at app/src/demo/Gruntfile.js :
1 |/
globals module /
----------------------------^
2 |
3 |module.exports = function (grunt) {
Invalid line break at app/src/demo/mockOutput.js :
1 |/
global angular /
----------------------------^
2 |
3 |angular
Invalid line break at app/src/js/multimocks.responseDelay.js :
1 |/
global angular /
----------------------------^
2 |
3 |angular
Invalid line break at app/src/js/multimocks.responseDelay.spec.js :
1 |/
global describe, beforeEach, jasmine, module, inject, it, expect /
------------------------------------------------------------------------------^
2 |
3 |describe('multimocks.responseDelay', function () {
Invalid line break at app/src/js/multimocks.spec.js :
1 |/
global describe, beforeEach, jasmine, module, inject, it, expect /
------------------------------------------------------------------------------^
2 |
3 |describe('multimocks', function () {
Invalid line break at tasks/plugins.js :
1 |/
global module, require /
------------------------------------^
2 |
3 |module.exports = {
Invalid line break at tasks/writeMultimocks.js :
1 |/
global require, module, process /
---------------------------------------------^
2 |
3 |module.exports = function (grunt) {
Invalid line break at tasks/plugins/hal.js :
1 |/
global module, require */
------------------------------------^
2 |
3 |var _ = require('lodash');

10 code style errors found!
Warning: Task "jscs:source" failed. Use --force to continue.

Aborted due to warnings.

from angular-multimocks.

nabil-boag avatar nabil-boag commented on September 25, 2024

It looks like you are having some issues with JSCS.

What version of jscs are you running?

Type npm view jscs version to find out.

While you sort that out, you can stop JSCS from running by commenting out line 19 in Gruntfile.js

  grunt.registerTask('build', [
    'jshint',
    // 'jscs',   <-- Comment this out
    'clean:build',
    'copy:build'
  ]);

This should allow the project to build. You can then run gunt build test

from angular-multimocks.

Related Issues (17)

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.