-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcd7fdb
commit 2a3ebbc
Showing
3 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`test-generator errors is defined mocha generates correct errored test 1`] = ` | ||
"describe('Stylelint: has-errors.scss', function() { | ||
it('has-errors.scss should pass stylelint', function() { | ||
// test failed | ||
var error = new chai.AssertionError('1:15 Unexpected empty block (block-no-empty)\\\\n6:10 Expected \\\\\\\\\\"#000000\\\\\\\\\\" to be \\\\\\\\\\"black\\\\\\\\\\" (color-named)'); | ||
error.stack = undefined; | ||
throw error; | ||
}); | ||
}); | ||
" | ||
`; | ||
|
||
exports[`test-generator errors is defined mocha generates correct passed test 1`] = ` | ||
"describe('Stylelint: no-errors.scss', function() { | ||
it('no-errors.scss should pass stylelint', function() { | ||
// test passed | ||
}); | ||
}); | ||
" | ||
`; | ||
|
||
exports[`test-generator errors is defined qunit generates correct errored test 1`] = ` | ||
"QUnit.module('Stylelint: has-errors.scss'); | ||
QUnit.test('has-errors.scss should pass stylelint', function(assert) { | ||
assert.expect(1); | ||
assert.ok(false, '1:15 Unexpected empty block (block-no-empty)\\\\n6:10 Expected \\\\\\\\\\"#000000\\\\\\\\\\" to be \\\\\\\\\\"black\\\\\\\\\\" (color-named)'); | ||
}); | ||
" | ||
`; | ||
|
||
exports[`test-generator errors is defined qunit generates correct passed test 1`] = ` | ||
"QUnit.module('Stylelint: no-errors.scss'); | ||
QUnit.test('no-errors.scss should pass stylelint', function(assert) { | ||
assert.expect(1); | ||
assert.ok(true, 'no-errors.scss should pass stylelint'); | ||
}); | ||
" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters