mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-19 00:53:48 -05:00
18 lines
359 B
JavaScript
18 lines
359 B
JavaScript
/* global describe,it */
|
|
|
|
const dotgit = require('./')()
|
|
|
|
require('chai').should()
|
|
|
|
describe('dotgitignore', () => {
|
|
describe('ignore', () => {
|
|
it('should return true for ignored files', () => {
|
|
dotgit.ignore('.DS_Store')
|
|
})
|
|
|
|
it('should return false for files that are not ignored', () => {
|
|
dotgit.ignore('README.md')
|
|
})
|
|
})
|
|
})
|