И
Size: a a a
И
kp
const foo = async () => {
throw new ErrorError('wtf');};.only('should work', async () => {
expect(foo.bind(this)).to.throw(ErrorError);});.only('actually works with chai-as-promised', async () => {
chaichai.use(require('chai-as-promised'));expect(foo()).to.be.rejectedWith(ErrorError);});В

В

В
kp
KL
kp
в
В

В
KL
в
-C
MR
MR
В
