Skip to content

Commit

Permalink
Renames parser module (#42)
Browse files Browse the repository at this point in the history
Moves to a filename that's more accurate and follows filename format
  • Loading branch information
tylergaw authored Oct 19, 2023
1 parent 62c3aae commit f5a0b0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/CSSStyleValue.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import parseAsValue from "./parse-as-value.js";
import parseAsValue from "./parseCSSText.js";

/**
* @typedef {object} CSSStyleValue
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/parse-as-value.test.js → lib/parseCSSText.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { describe, it } from "node:test";
import assert from "node:assert/strict";
import parseAsValue from "./parse-as-value.js";
import parseAsValue from "./parseCSSText.js";

describe("#parse-as-value", () => {
describe("#parseAsValue", () => {
it("returns CSSUnitValue when expected", () => {
["10rem", "20px"].forEach((val) => {
assert.equal(parseAsValue(val).constructor.name, "CSSUnitValue");
Expand Down

0 comments on commit f5a0b0d

Please sign in to comment.