Skip to content

Commit 29aec2c

Browse files
authored
chore: update internal node version and migrate jest to vitest (#27)
1 parent 6b7cae3 commit 29aec2c

9 files changed

Lines changed: 1849 additions & 5555 deletions

File tree

.idea/javascript-sdk.iml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jsLibraryMappings.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.19.1
1+
24.13.1

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is the Atomic Transact JavaScript SDK, a browser-based SDK that enables int
88

99
## Development Commands
1010

11-
- **Test**: `npm test` or `jest` - Runs Jest test suite
11+
- **Test**: `npm test` - Runs Vitest test suite
1212
- **Build TypeScript definitions**: `npx tsc` - Generates TypeScript declaration files from JavaScript source
1313
- **Publish**: `npm run publish-it` - Compiles TypeScript definitions and publishes to npm
1414

@@ -17,7 +17,7 @@ This is the Atomic Transact JavaScript SDK, a browser-based SDK that enables int
1717
### Core Structure
1818
- **index.js**: Main SDK implementation - single file containing the complete SDK
1919
- **index.d.ts**: TypeScript definitions (auto-generated from index.js via JSDoc comments)
20-
- **test/index.spec.js**: Jest test suite with snapshots
20+
- **test/index.spec.js**: Vitest test suite with snapshots
2121

2222
### SDK Architecture
2323
The SDK follows a simple pattern:
@@ -40,7 +40,7 @@ The SDK follows a simple pattern:
4040

4141
- Uses Prettier with specific config: no semicolons, single quotes, 2-space tabs, no trailing commas
4242
- TypeScript definitions generated from JSDoc comments in JavaScript source
43-
- Jest for testing with snapshot testing for DOM elements
43+
- Vitest for testing with snapshot testing for DOM elements
4444

4545
## SDK Version Management
4646

0 commit comments

Comments
 (0)