-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88bacaf
commit 3de6867
Showing
13 changed files
with
375 additions
and
1,661 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
- open graph image (need to be designed) | ||
- Write unit test for: | ||
- `useCopyToClipboard` | ||
- `WithEnventsCard` |
This file was deleted.
Oops, something went wrong.
130 changes: 0 additions & 130 deletions
130
components/Logic/__tests__/__snapshots__/WithEnventsCard.test.tsx.snap
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { register } from 'node:module'; | ||
import { pathToFileURL } from 'node:url'; | ||
import jsdom from 'jsdom'; | ||
|
||
register('nodejs-loaders/testing/css-module', pathToFileURL('./')); | ||
|
||
// We doesn't need to load any html/css because it's handle by testing-library | ||
const { document } = new jsdom.JSDOM().window; | ||
|
||
/** | ||
* Make the JSDOM global objects available to the Node.js environment. | ||
*/ | ||
global.document = document; | ||
global.window = document.defaultView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { register } from 'node:module'; | ||
import { pathToFileURL } from 'node:url'; | ||
|
||
register('nodejs-loaders/dev/alias', pathToFileURL('./')); | ||
register('nodejs-loaders/dev/tsx', pathToFileURL('./')); |
Oops, something went wrong.