Skip to content

Commit

Permalink
fix-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
teaddict committed Jan 25, 2025
1 parent 957a90b commit 28adde0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/swiss-ssn.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}

// Export for different environments
if (typeof window !== 'undefined') {
if (typeof window !== "undefined") {
window.SwissSSN = SwissSSN; // Browser global
}
var _default = _exports.default = SwissSSN;
Expand Down
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
/** @type {import('jest').Config} */
module.exports = {
testEnvironment: 'node',
transform: {
'^.+\\.js$': 'babel-jest'
Expand Down

0 comments on commit 28adde0

Please sign in to comment.