Skip to content

Commit

Permalink
Adding test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Feb 29, 2024
1 parent e855790 commit 0cc3e13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/framer-motion-3d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"@react-three/test-renderer": "^9.0.0",
"@rollup/plugin-commonjs": "^22.0.1"
},
"gitHead": "e201379824b4f3ae451ffdc5b00a9d775396d534"
"gitHead": "e855790f8bdfa5f116c07ffacd2194cb0533336e"
}
2 changes: 1 addition & 1 deletion packages/framer-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@
"maxSize": "32.1 kB"
}
],
"gitHead": "e201379824b4f3ae451ffdc5b00a9d775396d534"
"gitHead": "e855790f8bdfa5f116c07ffacd2194cb0533336e"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const isCSSVariableToken = (
if (!startsWithToken) return false

// Ensure any comments are stripped from the value as this can harm performance of the regex.
return singleCssVariableRegex.test(value.split("/*")[0])
return singleCssVariableRegex.test(value.split("/*")[0].trim())
}

const singleCssVariableRegex =
Expand Down

0 comments on commit 0cc3e13

Please sign in to comment.