transform-es2015-unicode-regex: Add tests for U+002F (#6265)

This commit is contained in:
Mathias Bynens 2017-09-18 19:36:39 +02:00 committed by Justin Ridgewell
parent 51b0b06a25
commit 24713e5040
3 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
/^https?:\/\//u.test(string);

View File

@ -0,0 +1 @@
/^https?:\/\//.test(string);

View File

@ -13,6 +13,6 @@
"babel-plugin-transform-class-properties": "7.0.0-beta.0",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.0",
"babel-plugin-transform-optional-catch-binding": "7.0.0-beta.0",
"babel-plugin-transform-unicode-property-regex": "^2.0.2"
"babel-plugin-transform-unicode-property-regex": "^2.0.5"
}
}