-
Notifications
You must be signed in to change notification settings - Fork 0
/
internal-fs_test.go
45 lines (39 loc) · 1.21 KB
/
internal-fs_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package nef
import (
. "github.com/onsi/ginkgo/v2" //nolint:revive // ok
. "github.com/onsi/gomega" //nolint:revive // ok
)
var _ = Describe("internal-fs", func() {
Context("Calc", Label("coverage"), func() {
Context("existsInFS disambiguator", func() {
It("🧪 should: return the calc", func() {
entities := compose("root").mutate(true)
Expect(entities.writer.existsInFS.Calc()).NotTo(BeNil())
})
})
Context("makeDirAllFS disambiguator", func() {
It("🧪 should: return the calc", func() {
entities := compose("root").mutate(true)
Expect(entities.writer.makeDirAllFS.Calc()).NotTo(BeNil())
})
})
Context("readerFS disambiguator", func() {
It("🧪 should: return the calc", func() {
entities := compose("root").mutate(true)
Expect(entities.reader.Calc()).NotTo(BeNil())
})
})
Context("writerFS disambiguator", func() {
It("🧪 should: return the calc", func() {
entities := compose("root").mutate(true)
Expect(entities.writer.Calc()).NotTo(BeNil())
})
})
Context("openFS disambiguator", func() {
It("🧪 should: return the calc", func() {
entities := compose("root").mutate(true)
Expect(entities.open.Calc()).NotTo(BeNil())
})
})
})
})