Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Commit 9a0b17b

Browse files
committed
Update throws-helper plugin
1 parent ff3e09a commit 9a0b17b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = (context, options) => {
1111
}));
1212
}
1313

14-
plugins.push(require('babel-plugin-ava-throws-helper'));
14+
plugins.push(require('@ava/babel-plugin-throws-helper'));
1515

1616
return {plugins};
1717
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"babel-preset"
2727
],
2828
"dependencies": {
29-
"babel-plugin-ava-throws-helper": "^1.0.0",
29+
"@ava/babel-plugin-throws-helper": "^2.0.0",
3030
"babel-plugin-espower": "^2.3.2"
3131
},
3232
"devDependencies": {

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Currently contains:
66

77
- [`babel-plugin-espower`](https://github.com/power-assert-js/babel-plugin-espower) and the patterns that should be enhanced
8-
- [`babel-plugin-ava-throws-helper`](https://github.com/avajs/babel-plugin-ava-throws-helper/)
8+
- [`@ava/babel-plugin-throws-helper`](https://github.com/avajs/babel-plugin-throws-helper/)
99

1010

1111
## Install

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {runInNewContext} from 'vm';
22
import test from 'ava';
33
import * as babel from 'babel-core';
4-
import throwsHelper from 'babel-plugin-ava-throws-helper';
4+
import throwsHelper from '@ava/babel-plugin-throws-helper';
55
import empower from 'empower-core';
66
import buildPreset from '.';
77

0 commit comments

Comments
 (0)