/
eapostnova
/
2026-1--study--mathmod
Обзор
Документация
Войти
/
eapostnova
/
2026-1--study--mathmod
Код
Запросы
0
Задачи
Пакеты
0
Релизы
6
Аналитика
Безопасность
master
node_modules/dotgitignore/test.js
25 строк
632 B
Елизавета Постнова
feat(main): make course structure
21 мар 2026, 21:05
Верифицирован
21 мар 2026, 21:05
49fc17e
Код
Авторство
О чём код?
/* global describe,it */ const dotgit = require('./')() require('chai').should() describe('dotgitignore', () => { describe('ignore', () => { it('should return true for ignored files', () => { dotgit.ignore('.DS_Store').should.equal(true) }) it('should return false for files that are not ignored', () => { dotgit.ignore('README.md').should.equal(false) }) it('should return false for comments', () => { dotgit.ignore('package.json').should.equal(false) }) it('should return false for matched negated lines', () => { dotgit.ignore('lib').should.equal(false) }) }) })