Skip to content

Commit

Permalink
Merge pull request #11 from AthennaIO/develop
Browse files Browse the repository at this point in the history
chore(npm): update dependencies
  • Loading branch information
jlenon7 authored Aug 26, 2024
2 parents 22e6388 + b44a398 commit 05e1c6f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/validator",
"version": "5.0.0",
"version": "5.1.0",
"description": "The Athenna validation solution. Built on top of VineJS.",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down
15 changes: 0 additions & 15 deletions src/validators/TestValidator.ts

This file was deleted.

2 changes: 1 addition & 1 deletion tests/helpers/BaseCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class BaseCommandTest {

@AfterEach()
public async afterEach() {
await Folder.safeRemove(Path.app())
await Folder.safeRemove(Path.validators())
await Folder.safeRemove(Path.fixtures('storage'))

await new File(Path.pwd('package.json')).setContent(this.originalPackageJson)
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/commands/MakeValidatorCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export default class MakeValidatorCommandTest extends BaseCommandTest {
public async shouldBeAbleToCreateAValidatorFile({ assert, command }: Context) {
const output = await command.run('make:validator TestValidator')

console.log(output.output)

output.assertSucceeded()
output.assertLogged('[ MAKING VALIDATOR ]')
output.assertLogged('[ success ] Validator "TestValidator" successfully created.')
Expand Down

0 comments on commit 05e1c6f

Please sign in to comment.