File tree 3 files changed +36
-0
lines changed
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Requires -Modules LockFile
2
+
3
+ Describe ' Get-LockFile' {
4
+ BeforeAll {
5
+ Set-LockFile - Path TestDrive:\lock.json
6
+ }
7
+
8
+ It ' returns results' {
9
+ Get-LockFile - Path TestDrive:\lock.json |
10
+ Should -Not - BeNullOrEmpty
11
+ }
12
+ }
Original file line number Diff line number Diff line change
1
+ # Requires -Modules LockFile
2
+
3
+ Describe ' Set-LockFile' {
4
+ AfterAll {
5
+ Remove-Item TestDrive:\lock.json
6
+ }
7
+
8
+ It ' returns results' {
9
+ Set-LockFile - Path TestDrive:\lock.json - PassThru |
10
+ Should -Not - BeNullOrEmpty
11
+ }
12
+ }
Original file line number Diff line number Diff line change
1
+ # Requires -Modules LockFile
2
+
3
+ Describe ' Test-LockFile' {
4
+ BeforeAll {
5
+ Set-LockFile - Path TestDrive:\lock.json
6
+ }
7
+
8
+ It ' returns true' {
9
+ Test-LockFile - Path TestDrive:\lock.json |
10
+ Should - BeTrue
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments