We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d83a71c commit 083f915Copy full SHA for 083f915
test/backups.test.js
@@ -16,10 +16,16 @@ test("BackupsModule", async (t) => {
16
}
17
});
18
19
- await t.test("should create backup", async () => {
20
- const backup = await testApp.backups.create();
21
- assert.ok(backup.url);
22
- assert.ok(backup.key);
+ await t.test("should create backup", async (t) => {
+ try {
+ const backup = await testApp.backups.create();
+ assert.ok(backup.url);
23
+ assert.ok(backup.key);
24
+ } catch (err) {
25
+ if (err.message.includes("Rate Limit Exceeded")) {
26
+ t.skip("Rate limit exceeded");
27
+ }
28
29
30
31
await t.test("should download backup", async () => {
0 commit comments