src/Clipboard.tests.ps1

1
2
3
4
5
6
7
8
9
10
11
Import-Module $PSScriptRoot/Clipboard.psm1 -Force  # force code to be reloaded

Describe 'Clipboard' {
    Context "Check" {
        $CopyCommand = Get-SystemCopyCommand

        It 'copy executable is present' {
            {$CopyCommand.CommandType} | Should -not -Throw
        }
    }
}