push
github
2100 of 3363 branches covered (62.44%)
282 of 757 new or added lines in 74 files covered. (37.25%)
14879 existing lines in 182 files now uncovered.25574 of 98035 relevant lines covered (26.09%)
5.17 hits per line
UNCOV
1
|
import { Controller, Get, Req, Res } from '@nestjs/common'; |
|
UNCOV
2
|
import { ApiExcludeEndpoint } from '@nestjs/swagger'; |
× |
UNCOV
3
|
import express from 'express'; |
× |
UNCOV
4
|
import { Public } from '../auth/decorators/public.decorator'; |
× |
UNCOV
5
|
import { NextService } from './next.service'; |
× |
UNCOV
6
|
|
× |
UNCOV
7
|
@Controller('/') |
× |
UNCOV
8
|
export class NextController { |
× |
UNCOV
9
|
constructor(private nextService: NextService) {}
|
× |
UNCOV
10
|
|
× |
UNCOV
11
|
@ApiExcludeEndpoint()
|
× |
12 |
@Public()
|
× |
13 |
@Get([
|
× |
14 |
'/',
|
× |
15 |
'favicon.ico', |
× |
16 |
'_next/*', |
× |
17 |
'__nextjs*', |
× |
18 |
'images/*', |
× |
19 |
'home', |
× |
20 |
'404/*', |
× |
21 |
'api/((?!table).)*', |
× |
22 |
'space/?*', |
× |
23 |
'auth/?*', |
× |
24 |
'base/?*', |
× |
25 |
'invite/?*', |
× |
26 |
'share/?*', |
× |
27 |
'setting/?*', |
× |
28 |
]) |
× |
29 |
public async home(@Req() req: express.Request, @Res() res: express.Response) { |
× |
30 |
await this.nextService.server.getRequestHandler()(req, res); |
× |
31 |
} |
× |
UNCOV
32
|
} |
× |