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

farjs / farjs / 20621230671

31 Dec 2025 02:42PM UTC coverage: 96.547% (-0.2%) from 96.776%
20621230671

push

github

viktor-podzigun
Migrated FileListBrowser to js

1307 of 1309 branches covered (99.85%)

Branch coverage included in aggregate %.

227 of 228 new or added lines in 3 files covered. (99.56%)

26 existing lines in 4 files now uncovered.

7975 of 8305 relevant lines covered (96.03%)

9.25 hits per line

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

0.0
/filelist/src/main/scala/farjs/filelist/stack/WithStackProps.scala
1
package farjs.filelist.stack
2

3
import scommons.react.blessed.BlessedElement
4

5
import scala.scalajs.js
6

7
sealed trait WithStackProps extends js.Object {
8
  val isRight: Boolean
9
  val panelInput: BlessedElement
10
  val stack: PanelStack
11
  val width: Int
12
  val height: Int
13
}
14

15
object WithStackProps {
16

17
  def apply(isRight: Boolean,
18
            panelInput: BlessedElement,
19
            stack: PanelStack,
20
            width: Int = 0,
21
            height: Int = 0): WithStackProps = {
22

UNCOV
23
    js.Dynamic.literal(
×
UNCOV
24
      isRight = isRight,
×
UNCOV
25
      panelInput = panelInput,
×
UNCOV
26
      stack = stack,
×
UNCOV
27
      width = width,
×
UNCOV
28
      height = height
×
UNCOV
29
    ).asInstanceOf[WithStackProps]
×
30
  }
31

32
  def unapply(arg: WithStackProps): Option[(Boolean, BlessedElement, PanelStack, Int, Int)] = {
UNCOV
33
    Some((
×
UNCOV
34
      arg.isRight,
×
UNCOV
35
      arg.panelInput,
×
UNCOV
36
      arg.stack,
×
UNCOV
37
      arg.width,
×
UNCOV
38
      arg.height
×
39
    ))
40
  }
41

42
  def copy(p: WithStackProps)(isRight: Boolean = p.isRight,
43
                              panelInput: BlessedElement = p.panelInput,
44
                              stack: PanelStack = p.stack,
45
                              width: Int = p.width,
46
                              height: Int = p.height): WithStackProps = {
47

48
    WithStackProps(
×
49
      isRight = isRight,
50
      panelInput = panelInput,
51
      stack = stack,
52
      width = width,
53
      height = height
54
    )
55
  }
56
}
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