UNPKG

sharec-core

Version:

[![.github/workflows/main.yml](https://github.com/lamartire/sharec/workflows/.github/workflows/main.yml/badge.svg)](https://github.com/lamartire/sharec/actions) [![npm](https://img.shields.io/npm/v/sharec)](https://npmjs.com/sharec) ![MIT License](https:/

21 lines (16 loc) 572 B
const { fixtures } = require('testUtils') const { pipe } = require('../pipe') describe('strategies > pipes > commitlint > pipe', () => { describe('JSON', () => { const commitlintFxt = fixtures('commitlint/json/00-base') it('should merge configs', () => { expect(pipe('.commitlintrc.json')(commitlintFxt)).toMatchSnapshot() }) }) describe('YAML', () => { const commitlintFxt = fixtures('commitlint/yaml/00-base') it('should merge configs', () => { expect(pipe('.commitlintrc.yaml')(commitlintFxt)).toMatchSnapshot() }) }) })