Skip to content

Commit 53cfd7f

Browse files
committed
Remove unused snapshots
1 parent eb43932 commit 53cfd7f

File tree

4 files changed

+0
-252
lines changed

4 files changed

+0
-252
lines changed
-16 Bytes
Binary file not shown.

test/snapshots/register.js.md

Lines changed: 0 additions & 252 deletions
Original file line numberDiff line numberDiff line change
@@ -113,255 +113,3 @@ Generated by [AVA](https://ava.li).
113113
at STACK TRACE`,
114114
stdout: '',
115115
}
116-
117-
## should work with --no-warnings | multipleResolves
118-
119-
> Snapshot 1
120-
121-
{
122-
exitCode: 0,
123-
stderr: '',
124-
stdout: `i multipleResolves (a promise was multiple times) ␊
125-
Initially resolved with: { success: true }␊
126-
Then rejected with: Error: message␊
127-
at STACK TRACE`,
128-
}
129-
130-
## should work with --no-warnings | rejectionHandled
131-
132-
> Snapshot 1
133-
134-
{
135-
exitCode: 0,
136-
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
137-
at STACK TRACE␊
138-
× rejectionHandled (a promise was rejected and handled too late) Error: message␊
139-
at STACK TRACE`,
140-
stdout: '',
141-
}
142-
143-
## should work with --no-warnings | uncaughtException
144-
145-
> Snapshot 1
146-
147-
{
148-
exitCode: 1,
149-
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
150-
at STACK TRACE`,
151-
stdout: '',
152-
}
153-
154-
## should work with --no-warnings | unhandledRejection
155-
156-
> Snapshot 1
157-
158-
{
159-
exitCode: 0,
160-
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
161-
at STACK TRACE`,
162-
stdout: '',
163-
}
164-
165-
## should work with --no-warnings | warning
166-
167-
> Snapshot 1
168-
169-
{
170-
exitCode: 0,
171-
stderr: `‼ warning (WarningType) message␊
172-
[500] Detail␊
173-
at STACK TRACE`,
174-
stdout: '',
175-
}
176-
177-
## should work with --unhandled-rejections=none | multipleResolves
178-
179-
> Snapshot 1
180-
181-
{
182-
exitCode: 0,
183-
stderr: '',
184-
stdout: `i multipleResolves (a promise was multiple times) ␊
185-
Initially resolved with: { success: true }␊
186-
Then rejected with: Error: message␊
187-
at STACK TRACE`,
188-
}
189-
190-
## should work with --unhandled-rejections=none | rejectionHandled
191-
192-
> Snapshot 1
193-
194-
{
195-
exitCode: 0,
196-
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
197-
at STACK TRACE␊
198-
× rejectionHandled (a promise was rejected and handled too late) Error: message␊
199-
at STACK TRACE`,
200-
stdout: '',
201-
}
202-
203-
## should work with --unhandled-rejections=none | uncaughtException
204-
205-
> Snapshot 1
206-
207-
{
208-
exitCode: 1,
209-
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
210-
at STACK TRACE`,
211-
stdout: '',
212-
}
213-
214-
## should work with --unhandled-rejections=none | unhandledRejection
215-
216-
> Snapshot 1
217-
218-
{
219-
exitCode: 0,
220-
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
221-
at STACK TRACE`,
222-
stdout: '',
223-
}
224-
225-
## should work with --unhandled-rejections=none | warning
226-
227-
> Snapshot 1
228-
229-
{
230-
exitCode: 0,
231-
stderr: `‼ warning (WarningType) message␊
232-
[500] Detail␊
233-
at STACK TRACE`,
234-
stdout: '',
235-
}
236-
237-
## should work with --unhandled-rejections=strict | multipleResolves
238-
239-
> Snapshot 1
240-
241-
{
242-
exitCode: 0,
243-
stderr: '',
244-
stdout: `i multipleResolves (a promise was multiple times) ␊
245-
Initially resolved with: { success: true }␊
246-
Then rejected with: Error: message␊
247-
at STACK TRACE`,
248-
}
249-
250-
## should work with --unhandled-rejections=strict | rejectionHandled
251-
252-
> Snapshot 1
253-
254-
{
255-
exitCode: 1,
256-
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
257-
at STACK TRACE␊
258-
× unhandledRejection (a promise was rejected but not handled) Error: message␊
259-
at STACK TRACE␊
260-
× rejectionHandled (a promise was rejected and handled too late) Error: message␊
261-
at STACK TRACE`,
262-
stdout: '',
263-
}
264-
265-
## should work with --unhandled-rejections=strict | uncaughtException
266-
267-
> Snapshot 1
268-
269-
{
270-
exitCode: 1,
271-
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
272-
at STACK TRACE`,
273-
stdout: '',
274-
}
275-
276-
## should work with --unhandled-rejections=strict | unhandledRejection
277-
278-
> Snapshot 1
279-
280-
{
281-
exitCode: 1,
282-
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
283-
at STACK TRACE␊
284-
× unhandledRejection (a promise was rejected but not handled) Error: message␊
285-
at STACK TRACE`,
286-
stdout: '',
287-
}
288-
289-
## should work with --unhandled-rejections=strict | warning
290-
291-
> Snapshot 1
292-
293-
{
294-
exitCode: 0,
295-
stderr: `‼ warning (WarningType) message␊
296-
[500] Detail␊
297-
at STACK TRACE`,
298-
stdout: '',
299-
}
300-
301-
## should work with --unhandled-rejections=warn | multipleResolves
302-
303-
> Snapshot 1
304-
305-
{
306-
exitCode: 0,
307-
stderr: '',
308-
stdout: `i multipleResolves (a promise was multiple times) ␊
309-
Initially resolved with: { success: true }␊
310-
Then rejected with: Error: message␊
311-
at STACK TRACE`,
312-
}
313-
314-
## should work with --unhandled-rejections=warn | rejectionHandled
315-
316-
> Snapshot 1
317-
318-
{
319-
exitCode: 0,
320-
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
321-
at STACK TRACE␊
322-
‼ warning (UnhandledPromiseRejectionWarning) Error: message␊
323-
at STACK TRACE␊
324-
‼ warning (UnhandledPromiseRejectionWarning) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)␊
325-
at STACK TRACE␊
326-
× rejectionHandled (a promise was rejected and handled too late) Error: message␊
327-
at STACK TRACE`,
328-
stdout: '',
329-
}
330-
331-
## should work with --unhandled-rejections=warn | uncaughtException
332-
333-
> Snapshot 1
334-
335-
{
336-
exitCode: 1,
337-
stderr: `× uncaughtException (an exception was thrown but not caught) Error: message␊
338-
at STACK TRACE`,
339-
stdout: '',
340-
}
341-
342-
## should work with --unhandled-rejections=warn | unhandledRejection
343-
344-
> Snapshot 1
345-
346-
{
347-
exitCode: 0,
348-
stderr: `× unhandledRejection (a promise was rejected but not handled) Error: message␊
349-
at STACK TRACE␊
350-
‼ warning (UnhandledPromiseRejectionWarning) Error: message␊
351-
at STACK TRACE␊
352-
‼ warning (UnhandledPromiseRejectionWarning) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)␊
353-
at STACK TRACE`,
354-
stdout: '',
355-
}
356-
357-
## should work with --unhandled-rejections=warn | warning
358-
359-
> Snapshot 1
360-
361-
{
362-
exitCode: 0,
363-
stderr: `‼ warning (WarningType) message␊
364-
[500] Detail␊
365-
at STACK TRACE`,
366-
stdout: '',
367-
}

test/snapshots/register.js.snap

-721 Bytes
Binary file not shown.

test/snapshots/warnings.js.snap

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)