Skip to content

Commit

Permalink
[#139] lint for check style
Browse files Browse the repository at this point in the history
[#139] Test coverage ignoring
  • Loading branch information
feelform committed Nov 7, 2023
1 parent 94b72bc commit 8cf56ea
Show file tree
Hide file tree
Showing 33 changed files with 277 additions and 690 deletions.
6 changes: 6 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"exclude": [
"lib/data/v1/**",
"test/**"
]
}
6 changes: 3 additions & 3 deletions lib/constant/default-predefined-method-descriptor-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

'use strict'

const MethodDescriptorBuilder2 = require('../context/method-descriptor-builder2')
const MethodDescriptorBuilder = require('../context/method-descriptor-builder')
const MethodType = require('./method-type')

// DefaultPredefinedMethodDescriptorRegistry.java
// Node Server Process SpanEvent.apiId predefined values
class DefaultPredefinedMethodDescriptorRegistry {
registryMethodDescriptor(apiMetaService) {
const nodeServerProcessBuilder = new MethodDescriptorBuilder2().setType(MethodType.WEB_REQUEST).setApiDescriptor('Node Server Process')
const asyncInvocationBuilder = new MethodDescriptorBuilder2().setType(MethodType.INVOCATION).setApiDescriptor('Asynchronous Invocation')
const nodeServerProcessBuilder = new MethodDescriptorBuilder().setType(MethodType.WEB_REQUEST).setApiDescriptor('Node Server Process')
const asyncInvocationBuilder = new MethodDescriptorBuilder().setType(MethodType.INVOCATION).setApiDescriptor('Asynchronous Invocation')
this.nodeServerProcessDescriptor = apiMetaService.cacheApiWithBuilder(nodeServerProcessBuilder)
this.asyncInvocationDescriptor = apiMetaService.cacheApiWithBuilder(asyncInvocationBuilder)
}
Expand Down
30 changes: 0 additions & 30 deletions lib/context/express-method-descriptor-builder.js

This file was deleted.

18 changes: 0 additions & 18 deletions lib/context/koa-method-descriptor-builder.js

This file was deleted.

116 changes: 0 additions & 116 deletions lib/context/make-method-descriptor-builder.js

This file was deleted.

Loading

0 comments on commit 8cf56ea

Please sign in to comment.