complete performance and reliability follow-ups
This commit is contained in:
@@ -11,6 +11,12 @@ import {
|
||||
upload,
|
||||
verifySignedFileToken,
|
||||
} from "../src/index.ts";
|
||||
import { UPLOAD_RUNTIME } from "../src/runtime.ts";
|
||||
|
||||
test("browser upload response parse failures emit a diagnostic", () => {
|
||||
expect(UPLOAD_RUNTIME).toContain("upload response was not valid JSON");
|
||||
expect(UPLOAD_RUNTIME).not.toContain("catch (e2) {}");
|
||||
});
|
||||
|
||||
function configure() {
|
||||
configureStorage(
|
||||
|
||||
Reference in New Issue
Block a user