Skip to content

Commit 427d1e2

Browse files
committed
Test unzipped result
1 parent 4589638 commit 427d1e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/DocUploadBundleTests/DocUploadBundleTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ final class DocUploadBundleTests: XCTestCase {
107107
XCTAssertNoThrow(
108108
try DocUploadBundle.unzip(bundle: url.path(), outputPath: tempDir)
109109
)
110+
XCTAssert(FileManager.default.fileExists(atPath: tempDir + "/metadata.json"))
111+
XCTAssert(FileManager.default.fileExists(atPath: tempDir + "/main/index.html"))
112+
XCTAssert(FileManager.default.fileExists(atPath: tempDir + "/main/index/index.json"))
110113
}
111114
}
112115

0 commit comments

Comments
 (0)