aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fixtures/img-bug.js25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/test/fixtures/img-bug.js b/src/test/fixtures/img-bug.js
index 207f59a09..1d5ec8a82 100644
--- a/src/test/fixtures/img-bug.js
+++ b/src/test/fixtures/img-bug.js
@@ -1,23 +1,10 @@
-function get() {
- if (true) {
- if (true) {
- if (true) {
- console.log("HI");
- if (true) {
- return { hi: () => true };
- }
- }
- }
+const hi = () => ({
+ its_ireelevant: () => true,
+});
+const hey = () => ({
+ any_name_will_do: () => true,
+});
- if (true) {
- if (true) {
- if (true) {
- return { hi: () => true };
- }
- }
- }
- }
-}
// function getWidths(width, layout, sizes) {
// if (sizes && (layout === "fill" || layout === "responsive")) {
// // Find all the "vw" percent sizes used in the sizes prop