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:/

18 lines (15 loc) 453 B
const { fixtures } = require('testUtils') const { commitlintJson } = require('../schema') describe('pipes > commitlint > schema', () => { describe('JSON', () => { const commitlintFxt = fixtures('commitlint/json/00-base', 'map') it('should merge configs', () => { expect( commitlintJson({ current: commitlintFxt.current, upcoming: commitlintFxt.upcoming, }), ).toMatchSnapshot() }) }) })