Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
({
[a]: null,
[ಠ_ಠ]: "foo",
["ಠ_ಠ"]: "bar"
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
({
[a]: null,
[ಠ_ಠ]: "foo",
ಠ_ಠ: "bar"
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// FIXME: The test name states that the property names should be transformed,
// but the `12e34` one isn’t transformed in the test

// prettier-ignore
({
"ಠ_ಠ": "bar",
"12e34": "wut",
"\u01FC": "AE"
})
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// FIXME: The test name states that the property names should be transformed,
// but the `12e34` one isn’t transformed in the test

// prettier-ignore
({
ಠ_ಠ: "bar",
"12e34": "wut",
Ǽ: "AE"
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// prettier-ignore
({
"\u2118": "wp",
"𐊧": "foo"
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// prettier-ignore
({
"℘": "wp",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jest transforms it while updating fixtures.

"𐊧": "foo"
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// FIXME: The test name states that no transformation should take place,
// but the actual test specifies that the quotes should be stripped.
//prettier-ignore
({
"default": null,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this a safe transformation?. We can remove the FIXME from here AFAIK.

"import": null
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// FIXME: The test name states that no transformation should take place,
// but the actual test specifies that the quotes should be stripped.
//prettier-ignore
({
default: null,
import: null
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var data = {
"00": 1,
"01": 2
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var data = {
"00": 1,
"01": 2
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// prettier-ignore
var x = { "foo": "bar", "1": "baz", test: null };
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// prettier-ignore
var x = { foo: "bar", 1: "baz", test: null };
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const runner = require("test-runner");
runner(__dirname);

This file was deleted.