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

Modify test describes to match file paths #34

Merged
merged 40 commits into from
Oct 14, 2016

Conversation

gaurav1911
Copy link
Contributor

#12

@gaurav1911 gaurav1911 closed this Oct 13, 2016
@gaurav1911 gaurav1911 reopened this Oct 13, 2016
@@ -1,7 +1,7 @@
const consoleReporter = require('../../../src/reporters/console-reporter')
const fixture = require('../../fixtures/reporters/console/empty')

describe('Console Reporter', () => {
describe('/fixtures/reporters/console/empty', () => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the name of the fixture, not the file containing the code. You can just modify it to describe('/reporters/console')

@@ -1,7 +1,7 @@
const consoleReporter = require('../../../src/reporters/console-reporter')
const fixture = require('../../fixtures/reporters/console/empty')

describe('Console Reporter', () => {
describe('/fixtures/reporters/console/empty', () => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the name of the fixture, not the file containing the code. You can just modify it to describe('/reporters/console')

@@ -1,7 +1,7 @@
const consoleReporter = require('../../../src/reporters/console-reporter')
const fixture = require('../../fixtures/reporters/console/base')

describe('Console Reporter', () => {
describe('/fixtures/reporters/console/base', () => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the name of the fixture, not the file containing the code. You can just modify it to describe('/reporters/console')

@gaurav1911
Copy link
Contributor Author

@ovidiubute Thank you for reviewing my PR.
Updated the test describes.

@ovidiubute ovidiubute merged commit 7844cff into ovidiubute:master Oct 14, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants