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

LouisBrunner / dnd-multi-backend / 6077383477

04 Sep 2023 08:26PM UTC coverage: 98.498%. Remained the same
6077383477

Pull #175

github

web-flow
chore(deps): bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #175: chore(deps): bump actions/checkout from 3 to 4

63 of 67 branches covered (0.0%)

Branch coverage included in aggregate %.

265 of 266 relevant lines covered (99.62%)

37.11 hits per line

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

100.0
/packages/dnd-multi-backend/src/PreviewListImpl.ts
1
import {MultiBackendSwitcher, PreviewList, PreviewListener} from './types'
135✔
2

3
export class PreviewListImpl implements PreviewList {
4
  /*private*/ #previews: PreviewListener[]
111✔
5

6
  constructor() {
7
    this.#previews = []
99✔
8
  }
9

10
  register = (preview: PreviewListener): void => {
99✔
11
    this.#previews.push(preview)
15✔
12
  }
13

14
  unregister = (preview: PreviewListener): void => {
99✔
15
    let index
16
    while ((index = this.#previews.indexOf(preview)) !== -1) {
12✔
17
      this.#previews.splice(index, 1)
12✔
18
    }
19
  }
20

21
  backendChanged = (backend: MultiBackendSwitcher): void => {
99✔
22
    for (const preview of this.#previews) {
33✔
23
      preview.backendChanged(backend)
18✔
24
    }
25
  }
26
}
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

© 2025 Coveralls, Inc