• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

EcrituresNumeriques / stylo / 12888454519

21 Jan 2025 01:54PM UTC coverage: 30.435% (+0.09%) from 30.344%
12888454519

push

github

web-flow
feat: la configuration applicative est une constante (#1184)

389 of 584 branches covered (66.61%)

Branch coverage included in aggregate %.

22 of 82 new or added lines in 16 files covered. (26.83%)

4 existing lines in 4 files now uncovered.

4049 of 13998 relevant lines covered (28.93%)

1.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/front/src/services/WorkspaceService.js
1
import { create, leave } from './WorkspaceService.graphql'
1✔
2
import { runQuery } from '../helpers/graphQL.js'
3

4
export default class WorkspaceService {
1✔
5
  constructor(sessionToken) {
1✔
6
    this.sessionToken = sessionToken
×
7
  }
×
8

9
  async create(data) {
1✔
NEW
10
    const { sessionToken } = this
×
11

12
    return runQuery(
×
NEW
13
      { sessionToken },
×
14
      {
×
15
        query: create,
×
16
        variables: {
×
17
          data,
×
18
        },
×
19
      }
×
20
    )
×
21
  }
×
22

23
  async leave(workspaceId) {
1✔
NEW
24
    const { sessionToken } = this
×
25

26
    return runQuery(
×
NEW
27
      { sessionToken },
×
28
      {
×
29
        query: leave,
×
30
        variables: {
×
31
          workspaceId,
×
32
        },
×
33
      }
×
34
    )
×
35
  }
×
36
}
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc