Skip to content

Commit

Permalink
chore(parse): run prettier on index.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gilmoreorless committed Feb 14, 2023
1 parent e3e4775 commit 3f71f50
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions @commitlint/parse/src/index.test.ts
Expand Up @@ -169,18 +169,18 @@ test('registers inline #', async () => {
});

test('keep -side notes- in the body section', async () => {
const header = "type(some/scope): subject"
const body =
"CI on master branch caught this:\n\n" +
"```\n" +
"Unhandled Exception:\n" +
const header = 'type(some/scope): subject';
const body =
'CI on master branch caught this:\n\n' +
'```\n' +
'Unhandled Exception:\n' +
"System.AggregateException: One or more errors occurred. (Some problem when connecting to 'api.mycryptoapi.com/eth')\n\n" +
"--- End of stack trace from previous location where exception was thrown ---\n\n" +
"at GWallet.Backend.FSharpUtil.ReRaise (System.Exception ex) [0x00000] in /Users/runner/work/geewallet/geewallet/src/GWallet.Backend/FSharpUtil.fs:206\n" +
"...\n" +
"```";
'--- End of stack trace from previous location where exception was thrown ---\n\n' +
'at GWallet.Backend.FSharpUtil.ReRaise (System.Exception ex) [0x00000] in /Users/runner/work/geewallet/geewallet/src/GWallet.Backend/FSharpUtil.fs:206\n' +
'...\n' +
'```';

const message = header + "\n\n" + body
const message = header + '\n\n' + body;

const actual = await parse(message);

Expand Down

0 comments on commit 3f71f50

Please sign in to comment.