mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
11 lines
180 B
JavaScript
11 lines
180 B
JavaScript
const replay = async () => {
|
|
try {
|
|
} catch (error) {
|
|
return false;
|
|
}
|
|
|
|
throw new Error('@kira throw');
|
|
};
|
|
|
|
return expect(() => replay()).rejects.toThrow('@kira throw');
|