UNPKG

851 BSource Map (JSON)View Raw
1{"version":3,"sources":["../src/footer-tense.test.js"],"names":["t","actual","deepEqual"],"mappings":";;AAAA;;;;AACA;;;;AACA;;;;;;AAEA,mBAAK,6BAAL,EAAoC,UAAMA,CAAN;AAAA;AAAA,MAC7B,MAD6B;AACR,yBAAM,qBAAM,qBAAN,CAAN;AAAA;AAArBC,UAAN,GAAe,2BAAY,QAAZ,EAAgD,QAAhD,EAA0D,CACxE,oBADwE,CAA1D,CAAf;AAGAD,MAAEE,SAAF,CAAYD,MAAZ,EAAoB,CACnB,KADmB,EAEnB,2EAFmB,CAApB;AAH2B;AAAA;AAAA;AAAA;AAAA;AADQ;AAAA,CAApC","file":"footer-tense.test.js","sourcesContent":["import test from 'ava';\nimport parse from '@commitlint/parse';\nimport footerTense from './footer-tense';\n\ntest('returns deprecation warning', async t => {\n\tconst actual = footerTense(await parse('test: subject\\nbody'), 'always', [\n\t\t'present-imperative'\n\t]);\n\tt.deepEqual(actual, [\n\t\tfalse,\n\t\t'rules.footer-tense is deprecated. Received [always, [present-imperative]]'\n\t]);\n});\n"]}
\No newline at end of file