Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 16, 2023
1 parent b97030d commit e0f220a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/log/src/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const log: Log = ((strings, ...slots) => {
console.log(chalk.bgRed.bold.white(' 𝗫 ERROR ') + ' ' + chalk.bold.red(message))
console.log(treeify(stackTree, {
spacerNeighbour: chalk.redBright.dim('│  '),
keyNoNeighbour: chalk.redBright.dim('└ '),
keyNeighbour: chalk.redBright.dim('├ '),
keyNoNeighbour: chalk.redBright.dim('└ '),
keyNeighbour: chalk.redBright.dim('├ '),
separator: chalk.redBright.dim(': ')
}))
console.log('')
Expand Down
14 changes: 7 additions & 7 deletions packages/version/tests/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ test('bump to specific version by analyzing dependencies', () => {
.toString()
expect(stripAnsi(outputLog)).toContain(dedent`
📦
@techor.tests/a
│ └ dependencies
│ └ @techor.tests/b
@techor.tests/b
@techor.tests/c
peerDependencies
@techor.tests/a
├ @techor.tests/a
│ └ dependencies
│ └ @techor.tests/b
├ @techor.tests/b
└ @techor.tests/c
└ peerDependencies
└ @techor.tests/a
⏺ Success bump version to ^1.2.0 for 3 packages in all workspace
`)
})

0 comments on commit e0f220a

Please sign in to comment.