Skip to content

Commit

Permalink
chore: Enforce *.spec.js for unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Sep 27, 2018
1 parent 0048f43 commit 555025d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/lib/special.test.js → test/lib/special.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { expect } from 'chai'
import { transformPathToString, transformRawToArgs, transformWildCardsToArgs } from '../../lib/special.js'

describe('Utility: special.js', function () {
describe('Specification: special.js', function () {
it('should works with the `$raw` special switch', function () {
const r = transformRawToArgs({
$raw: ['-i!*.jpg', '-i!*.png', '-r0']
Expand Down
2 changes: 1 addition & 1 deletion test/lib/switches.test.js → test/lib/switches.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { expect } from 'chai'
import { transformSwitchesToArgs } from '../../lib/switches.js'

describe('Utility: `switches`', function () {
describe('Specification: `switches.js`', function () {
it('Should return deflaut flags with no args', function () {
const r = transformSwitchesToArgs()
expect(r).not.to.contain('-sdel')
Expand Down

0 comments on commit 555025d

Please sign in to comment.