Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When there are some kind of errors in the spec file, it will say "no specs found" #67

Open
jonleung opened this issue May 20, 2016 · 1 comment

Comments

@jonleung
Copy link

Given this gulpfile.js:

...
gulp.task('tests', function() {
    return gulp.src('specs/example.js')
        .pipe(jasmine({
            integration: true
        }));
});
...

The below specs/example.js, with the weird characters at the bottom, will give me an output of no specs found

// specs/example.js

describe("truth", function() {
    it("is truth", function() {
        expect(true).toBe(true);
    });
});

*$|~ Random ass stuff

The below specs/example.js, with the word characters at the bottom commented out, will run the tests are normal:

// specs/example.js

describe("truth", function() {
    it("is truth", function() {
        expect(true).toBe(true);
    });
});

// *$|~ Random ass stuff

Note

This ONLY happens when integration: true, otherwise it gives me proper error messages

@ericrini
Copy link

+1

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

No branches or pull requests

2 participants