Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

How to configure jasmine-spec-reporter #129

Closed
petef19 opened this issue Aug 13, 2021 · 2 comments
Closed

How to configure jasmine-spec-reporter #129

petef19 opened this issue Aug 13, 2021 · 2 comments

Comments

@petef19
Copy link

petef19 commented Aug 13, 2021

Cannot get the jasmine-spec-reporter to work. Followed the very simple instruction on the main page.

(1) installed jasmine-spec-reporter, I tried version 6.0.0 and 7.0.0

package.json

...
    "devDependencies": {
        "@tsconfig/node14": "^1.0.1",
        "@types/jasmine": "^3.8.2",
        "@types/node": "^16.4.6",
        "jasmine": "^3.8.0",
        "jasmine-spec-reporter": "^7.0.0",
        "jasmine-ts": "^0.4.0",
        "karma-mocha-reporter": "^2.2.5",
        "ts-node": "^10.2.0",
        "typescript": "^4.3.5"
    }
...

/spec/support/jasmine.json

{
    "spec_dir": "tests",
    "spec_files": [
        "**/*[sS]pec.js"
    ],
    "helpers": [
        "helpers/**/*.js"
    ],
    "stopSpecOnExpectationFailure": false,
    "random": false,
    "reporters": [
        {
            "name": "jasmine-spec-reporter#SpecReporter",
            "options": {
                "displayStacktrace": "all"
            }
        }
    ]
}

but results always look the same, with or without the jasmine-spec-reporter declaration.

> jasmine-ts ./tests/**/*.spec.ts

Started
.


1 spec, 0 failures
Finished in 0.005 seconds

what am I missing ?

@petef19 petef19 closed this as completed Aug 14, 2021
@subhra-s-das
Copy link

why this is closed ? how make jasmine-spec-reporter work

@ert78gb
Copy link
Collaborator

ert78gb commented Oct 30, 2021

Sorry, I missed this question. Please check the #23 I will update the documentation too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants