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
# developer-portal-tab-container |
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
/** | |
* ! issues calling onFailure | |
*/ | |
useEffect(() => { | |
if (atsProgressStatus === 'INVALID_CREDENTIALS') { | |
callOnFailure(); | |
next(); | |
// onFailure(); | |
console.log({ atsProgressStatus }); |
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
// NOTE: this definitely is not working correctly, but is relatively close to what needs to be done | |
useEffect(() => { | |
if (existingIntegration) { | |
return; | |
} | |
if (atsLinkStatus === ExternalAtsLinkStatusKind.InvalidCredentials) { | |
onApiFailure(); | |
} else { | |
// @ts-ignore |
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
import React from 'react'; | |
import { describe, expect, test, it } from 'vitest'; | |
import { render, screen } from '@testing-library/react'; | |
import userEvent from '@testing-library/user-event'; | |
import App from '../App' | |
describe('App renders correctly', () => { |
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
import { describe, expect, it } from 'vitest' | |
import App from './App' | |
import { render, screen, userEvent } from './utils/test-utils' | |
describe('Simple working test', () => { | |
it('the title is visible', () => { | |
render(<App />) | |
expect(screen.getByText(/Hello Vite \+ React!/i)).toBeInTheDocument() | |
}) |
ZenDots take a break from the daily grind.
Dots move from the top to the bottom of the screen. A player tries to click on the dots and receives points when they are successful. Beat your last high score to add extra Zen to your day.
- Click the start button to play.
- POP as many dots as you can
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
<!-- @format --> | |
<style> | |
dialog { | |
--diag-bg: whitesmoke; | |
--diag-bg-img: none; | |
--diag-x: 1.5rem; | |
--diag-y: 1.5rem; | |
--bk-drop: rgba(0, 0, 0, 0.5); |
Hygen is a simple, fast, and scalable code generator that lives in your project.
✅ Local generators per project (and global, if you must)
✅ Built-in scaffolds to quickly create generators