@featherds/pdf-viewer
Advanced tools
Comparing version 0.12.26 to 0.12.27
{ | ||
"name": "@featherds/pdf-viewer", | ||
"version": "0.12.26", | ||
"version": "0.12.27", | ||
"publishConfig": { | ||
@@ -12,8 +12,8 @@ "access": "public" | ||
"dependencies": { | ||
"@featherds/button": "^0.12.26", | ||
"@featherds/composables": "^0.12.26", | ||
"@featherds/dialog": "^0.12.26", | ||
"@featherds/icon": "^0.12.26", | ||
"@featherds/progress": "^0.12.26", | ||
"@featherds/styles": "^0.12.26", | ||
"@featherds/button": "^0.12.27", | ||
"@featherds/composables": "^0.12.27", | ||
"@featherds/dialog": "^0.12.27", | ||
"@featherds/icon": "^0.12.27", | ||
"@featherds/progress": "^0.12.27", | ||
"@featherds/styles": "^0.12.27", | ||
"vue": "^3.1.0-0" | ||
@@ -26,3 +26,3 @@ }, | ||
"types": "./src/index.d.ts", | ||
"gitHead": "a8f0b4f0ea208bc9f4ff5b346c99afb71907902b" | ||
"gitHead": "313e9304b3f3e6d4acae47145892699ed28df811" | ||
} |
@@ -49,3 +49,5 @@ import FeatherPdfViewer from "./FeatherPdfViewer.vue"; | ||
}); | ||
expect(xhrMock.open.mock.calls[0][1]).toBe(url); | ||
// NOTE: | ||
const mockedCalls = xhrMock.open.mock.calls[0] as any[]; | ||
expect(mockedCalls[1]).toBe(url); | ||
}); | ||
@@ -62,3 +64,5 @@ it("should use preview url when extension is not pdf", () => { | ||
}); | ||
expect(xhrMock.open.mock.calls[0][1]).toBe(url); | ||
// NOTE: | ||
const mockedCalls = xhrMock.open.mock.calls[0] as any[]; | ||
expect(mockedCalls[1]).toBe(url); | ||
}); | ||
@@ -141,3 +145,5 @@ it("should display error when no preview url and not pdf", async () => { | ||
await wrapper.find(".close-icon").trigger("click"); | ||
expect(getCalls<[boolean]>(wrapper, "update:modelValue")[0][0]).toBe(false); | ||
expect(getCalls<[boolean]>(wrapper, "update:modelValue")[0]![0]).toBe( | ||
false | ||
); | ||
}); | ||
@@ -144,0 +150,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71899
751
Updated@featherds/button@^0.12.27
Updated@featherds/dialog@^0.12.27
Updated@featherds/icon@^0.12.27
Updated@featherds/progress@^0.12.27
Updated@featherds/styles@^0.12.27