Skip to content

Commit

Permalink
refactor: use runner gh reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 9, 2025
1 parent da06736 commit 7b13eb5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 106 deletions.
85 changes: 0 additions & 85 deletions bin/gh_reporter.ts

This file was deleted.

12 changes: 0 additions & 12 deletions bin/test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { assert } from '@japa/assert'
import { expectTypeOf } from '@japa/expect-type'
import { processCLIArgs, configure, run } from '@japa/runner'
import { spec } from '@japa/runner/reporters'
import { GhReporter } from './gh_reporter.js'

/*
|--------------------------------------------------------------------------
Expand All @@ -21,16 +19,6 @@ processCLIArgs(process.argv.slice(2)),
configure({
files: ['tests/**/*.spec.(ts|js)'],
plugins: [assert(), expectTypeOf()],
reporters: {
activated: ['spec', GhReporter.name],
list: [
spec(),
{
name: GhReporter.name,
handler: (...args) => new GhReporter().boot(...args),
},
],
},
})

/*
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,32 @@
"@adonisjs/logger": "^6.0.5",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@japa/assert": "^4.0.0",
"@japa/expect-type": "^2.0.2",
"@japa/runner": "^3.1.4",
"@release-it/conventional-changelog": "^9.0.4",
"@japa/assert": "^4.0.1",
"@japa/expect-type": "^2.0.3",
"@japa/runner": "^4.1.0",
"@release-it/conventional-changelog": "^10.0.0",
"@swc/core": "^1.10.4",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.10.2",
"@types/node": "^22.10.5",
"c8": "^10.1.3",
"eslint": "^9.17.0",
"fs-extra": "^11.2.0",
"lodash": "^4.17.21",
"lodash-cli": "^4.17.5",
"move-file-cli": "^3.0.0",
"prettier": "^3.4.2",
"release-it": "^17.11.0",
"release-it": "^18.1.1",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
"typescript": "^5.7.3"
},
"dependencies": {
"@poppinss/exception": "^1.2.0",
"@poppinss/object-builder": "^1.1.0",
"@poppinss/string": "^1.1.0",
"@poppinss/string": "^1.2.0",
"flattie": "^1.1.1",
"safe-stable-stringify": "^2.5.0",
"secure-json-parse": "^3.0.1",
"secure-json-parse": "^3.0.2",
"youch": "^4.1.0-beta.4"
},
"homepage": "https://github.com/poppinss/utils#readme",
Expand Down

0 comments on commit 7b13eb5

Please sign in to comment.