Skip to content

Commit

Permalink
refactor: 💡 命名修改
Browse files Browse the repository at this point in the history
  • Loading branch information
倪俊杰 committed Nov 17, 2021
1 parent a037c93 commit b4b6253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ app.use(koaBody({
multipart: true
}))

class KoaMockSwitch {
class MockMaster {
constructor(config) {
this.mockRoot = config.root
this.port = config.port || 7777
Expand Down Expand Up @@ -325,4 +325,4 @@ class KoaMockSwitch {
}
}

module.exports = KoaMockSwitch
module.exports = MockMaster

0 comments on commit b4b6253

Please sign in to comment.