Add test for flow class field override (#1669)
This commit is contained in:
1 parent
4083d92ad1
commit
316c76172b
3 files changed
+16
No files matched your search
@@ -0,0 +1,12 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`override.js 1`] = `
|
||||
class Foo {
|
||||
constructor: () => this;
|
||||
}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
class Foo {
|
||||
constructor: () => this;
|
||||
}
|
||||
|
||||
`;
|
||||
@@ -0,0 +1 @@
|
||||
run_spec(__dirname, null, ["babylon"]);
|
||||
@@ -0,0 +1,3 @@
|
||||
class Foo {
|
||||
constructor: () => this;
|
||||
}
|
||||
Reference in new issue
Block a user