egg-boilerplate-simple
Advanced tools
Comparing version 3.6.0 to 3.7.0
@@ -1,2 +0,5 @@ | ||
const { app, assert } = require('egg-mock/bootstrap'); | ||
const { strict: assert } = require('node:assert'); | ||
const path = require('node:path'); | ||
const { statSync } = require('node:fs'); | ||
const { app } = require('egg-mock/bootstrap'); | ||
@@ -7,5 +10,7 @@ describe('test/app/controller/home.test.js', () => { | ||
assert(app.config.keys.startsWith(pkg.name)); | ||
}); | ||
// const ctx = app.mockContext({}); | ||
// yield ctx.service.xx(); | ||
it('should typings exists', async () => { | ||
const typings = path.join(__dirname, '../../../typings'); | ||
assert(statSync(typings)); | ||
}); | ||
@@ -12,0 +17,0 @@ |
# Changelog | ||
## [3.7.0](https://github.com/eggjs/egg-boilerplate-simple/compare/v3.6.0...v3.7.0) (2024-01-07) | ||
### Features | ||
* add typings unittest ([#53](https://github.com/eggjs/egg-boilerplate-simple/issues/53)) ([f01fce4](https://github.com/eggjs/egg-boilerplate-simple/commit/f01fce427643c8deed8abaacd0c39608287737dc)) | ||
## [3.6.0](https://github.com/eggjs/egg-boilerplate-simple/compare/v3.5.0...v3.6.0) (2023-11-25) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "egg-boilerplate-simple", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"description": "boilerplate for egg quickstart", | ||
@@ -11,3 +11,3 @@ "scripts": { | ||
"ci-boilerplate": "npm run build && npm run install-deps && cd dist && npm run ci", | ||
"clean": "rm -rf boilerplate/.idea boilerplate/logs boilerplate/node_modules boilerplate/run", | ||
"clean": "rm -rf dist boilerplate/.idea boilerplate/logs boilerplate/node_modules boilerplate/run", | ||
"build": "npm run clean && egg-init dist --force --silent --template=./", | ||
@@ -24,3 +24,3 @@ "install-deps": "cd dist && npm i" | ||
"devDependencies": { | ||
"egg-init": "^2.3.1", | ||
"egg-init": "3", | ||
"eslint": "8", | ||
@@ -27,0 +27,0 @@ "eslint-config-egg": "13" |
14395
120