mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-16 00:04:24 +00:00
update filename and check count returned
This commit is contained in:
@@ -3,9 +3,10 @@ Import-Module $PSScriptRoot\..\..\ImportExcel.psd1 -Force
|
||||
Describe "Tests Import-Excel Timings" -Tag Timing {
|
||||
It "Should read the 20k xlsx in -le 2100 milliseconds" {
|
||||
$timer = Measure-Command {
|
||||
$null = Import-Excel $PSScriptRoot\Rows20k.xlsx
|
||||
$data = Import-Excel $PSScriptRoot\TimingRows20k.xlsx
|
||||
}
|
||||
|
||||
$timer.TotalMilliseconds | Should -BeLessOrEqual 2100
|
||||
$data.Count | Should -Be 19999
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user