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

Commit 65e68b4

Browse files
committed
Update @babel/core to beta 49
1 parent 8e611a8 commit 65e68b4

File tree

5 files changed

+86
-132
lines changed

5 files changed

+86
-132
lines changed

package-lock.json

Lines changed: 79 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"throws"
2828
],
2929
"devDependencies": {
30-
"@babel/core": "7.0.0-beta.48",
30+
"@babel/core": "7.0.0-beta.49",
3131
"ava": "^0.25.0",
3232
"codecov": "^3.0.2",
3333
"nyc": "^11.8.0",

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import fn from '.';
55
function transform(input) {
66
return babel.transform(input, {
77
plugins: [fn],
8-
filename: 'some-file.js'
8+
filename: '/some-file.js'
99
});
1010
}
1111

test.js.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Generated by [AVA](https://ava.li).
2222
return arg;␊
2323
}␊
2424
25-
t.throws((_avaThrowsHelperStart(t, "throws", "some-file.js", 1), _avaThrowsHelperEnd(t, foo())));`
25+
t.throws((_avaThrowsHelperStart(t, "throws", "/some-file.js", 1), _avaThrowsHelperEnd(t, foo())));`
2626

2727
## creates the helper only once
2828

@@ -42,14 +42,14 @@ Generated by [AVA](https://ava.li).
4242
return arg;␊
4343
}␊
4444
45-
t.throws((_avaThrowsHelperStart(t, "throws", "some-file.js", 1), _avaThrowsHelperEnd(t, foo())));␊
46-
t.throws((_avaThrowsHelperStart(t, "throws", "some-file.js", 1), _avaThrowsHelperEnd(t, bar())));
45+
t.throws((_avaThrowsHelperStart(t, "throws", "/some-file.js", 1), _avaThrowsHelperEnd(t, foo())));␊
46+
t.throws((_avaThrowsHelperStart(t, "throws", "/some-file.js", 1), _avaThrowsHelperEnd(t, bar())));`
4747

4848
## does nothing if it does not match
4949

5050
> t.is(foo());
5151
52-
't.is(foo());
52+
't.is(foo());'
5353

5454
## helps notThrows
5555

@@ -69,4 +69,4 @@ Generated by [AVA](https://ava.li).
6969
return arg;␊
7070
}␊
7171
72-
t.notThrows((_avaThrowsHelperStart(t, "notThrows", "some-file.js", 1), _avaThrowsHelperEnd(t, baz())));`
72+
t.notThrows((_avaThrowsHelperStart(t, "notThrows", "/some-file.js", 1), _avaThrowsHelperEnd(t, baz())));`

test.js.snap

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)