Skip to content

Commit

Permalink
fix: test only method
Browse files Browse the repository at this point in the history
  • Loading branch information
muratgozel committed Jan 16, 2025
1 parent 1f81768 commit 737c125
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,4 @@ If you're interested in contributing, read the [CONTRIBUTING.md](https://github.

---

Version management of this repository done by [releaser](https://github.com/muratgozel/node-releaser) 🚀

---

Thanks for watching 🐬

[![Support me on Patreon](https://cdn.muratgozel.com.tr/support-me-on-patreon.v1.png)](https://patreon.com/muratgozel?utm_medium=organic&utm_source=github_repo&utm_campaign=github&utm_content=join_link)
Thanks for the attention 💙 Any amount of support on [patreon](https://patreon.com/muratgozel?utm_medium=organic&utm_source=github_repo&utm_campaign=github&utm_content=join_link) or [github](https://github.com/sponsors/muratgozel) will return you back as bug fixes, new features and bits and bytes.
4 changes: 2 additions & 2 deletions src/index.node.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test("no duplicate records", () => {
expect(metapatcher.memory).toContain("<title>ipsum</title>");
});

test.only("keep memory on dump", () => {
test("keep memory on dump", () => {
expect(metapatcher.isDomAvailable).toEqual(false);
metapatcher.setCanonical("https://example.com");
expect(metapatcher.dump()).toContain(
Expand All @@ -35,7 +35,7 @@ test.only("keep memory on dump", () => {
);
});

test.only("flush memory", () => {
test("flush memory", () => {
metapatcher.setCanonical("https://example.com");
expect(metapatcher.dump()).toContain(
'<link id="metapatcher-canonical" rel="canonical" href="https://example.com" />',
Expand Down

0 comments on commit 737c125

Please sign in to comment.