mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
28 lines
770 B
PowerShell
28 lines
770 B
PowerShell
#Requires -Modules Pester
|
|
if (-not (Get-command Import-Excel -ErrorAction SilentlyContinue)) {
|
|
Import-Module $PSScriptRoot\..\ImportExcel.psd1
|
|
}
|
|
|
|
Describe "Check if Function aliases exist" {
|
|
|
|
It "Set-Column should exist".PadRight(90) {
|
|
${Alias:Set-Column} | Should -Not -BeNullOrEmpty
|
|
}
|
|
|
|
It "Set-Row should exist".PadRight(90) {
|
|
${Alias:Set-Row} | Should -Not -BeNullOrEmpty
|
|
}
|
|
|
|
It "Set-Format should exist".PadRight(90) {
|
|
${Alias:Set-Format} | Should -Not -BeNullOrEmpty
|
|
}
|
|
|
|
<#It "Merge-MulipleSheets should exist" {
|
|
Get-Command Merge-MulipleSheets | Should -Not -Be $null
|
|
}
|
|
#>
|
|
It "New-ExcelChart should exist".PadRight(90) {
|
|
${Alias:New-ExcelChart} | Should -Not -BeNullOrEmpty
|
|
}
|
|
|
|
} |