-
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tests): Tests to fixtures - memberExpressionLiterals (#729)
- Loading branch information
Showing
14 changed files
with
16 additions
and
54 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...l-plugin-transform-member-expression-literals/__tests__/fixtures/computed-props/actual.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo[a]; |
1 change: 1 addition & 0 deletions
1
...plugin-transform-member-expression-literals/__tests__/fixtures/computed-props/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo[a]; |
2 changes: 2 additions & 0 deletions
2
...abel-plugin-transform-member-expression-literals/__tests__/fixtures/invalid-ids/actual.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
foo["default"]; | ||
foo["import"]; |
2 changes: 2 additions & 0 deletions
2
...el-plugin-transform-member-expression-literals/__tests__/fixtures/invalid-ids/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
foo["default"]; | ||
foo["import"]; |
1 change: 1 addition & 0 deletions
1
...el-plugin-transform-member-expression-literals/__tests__/fixtures/leading-zeros/actual.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
data["00"] = 5; |
1 change: 1 addition & 0 deletions
1
...-plugin-transform-member-expression-literals/__tests__/fixtures/leading-zeros/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
data["00"] = 5; |
1 change: 1 addition & 0 deletions
1
...ugin-transform-member-expression-literals/__tests__/fixtures/member-expressions/actual.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo.bar; |
1 change: 1 addition & 0 deletions
1
...in-transform-member-expression-literals/__tests__/fixtures/member-expressions/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo.bar; |
1 change: 1 addition & 0 deletions
1
...-plugin-transform-member-expression-literals/__tests__/fixtures/numeric-literal/actual.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo["1"]; |
1 change: 1 addition & 0 deletions
1
...lugin-transform-member-expression-literals/__tests__/fixtures/numeric-literal/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo[1]; |
1 change: 1 addition & 0 deletions
1
...l-plugin-transform-member-expression-literals/__tests__/fixtures/string-literal/actual.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo["bar"]; |
1 change: 1 addition & 0 deletions
1
...plugin-transform-member-expression-literals/__tests__/fixtures/string-literal/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
foo.bar; |
2 changes: 2 additions & 0 deletions
2
packages/babel-plugin-transform-member-expression-literals/__tests__/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
const runner = require("test-runner"); | ||
runner(__dirname); |
54 changes: 0 additions & 54 deletions
54
...ansform-member-expression-literals/__tests__/transform-member-expression-literals-test.js
This file was deleted.
Oops, something went wrong.