-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #550 from SolidOS/chat-thread-proof
Chat thread with proof
- Loading branch information
Showing
23 changed files
with
1,841 additions
and
27,382 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 @@ | ||
v16.14.0 | ||
v18.19.0 |
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,18 @@ | ||
const { TextEncoder, TextDecoder } = require('util') | ||
const JSDOMEnvironmentBase = require('jest-environment-jsdom') | ||
|
||
Object.defineProperty(exports, '__esModule', { | ||
value: true, | ||
}) | ||
|
||
class JSDOMEnvironment extends JSDOMEnvironmentBase { | ||
constructor(...args) { | ||
const { global } = super(...args) | ||
global.TextEncoder = TextEncoder | ||
global.TextDecoder = TextDecoder | ||
global.Uint8Array = Uint8Array | ||
} | ||
} | ||
|
||
exports.default = JSDOMEnvironment | ||
exports.TestEnvironment = JSDOMEnvironment; |
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,9 +1,15 @@ | ||
module.exports = { | ||
verbose: true, | ||
testEnvironment: 'jsdom', | ||
// https://github.com/paralleldrive/cuid2/issues/44#issuecomment-1531731695 | ||
testEnvironment: './jest-environment-jsdom.js', // had to extend; see https://github.com/jsdom/jsdom/issues/2524 | ||
testMatch: [ | ||
'**/?(*.)+(spec|test).[tj]s?(x)' ], | ||
setupFilesAfterEnv: [ | ||
'./test/helpers/setup.ts' | ||
] | ||
], | ||
transformIgnorePatterns: ["/node_modules/(?!lit-html).+\\.js"], | ||
testEnvironmentOptions: { | ||
customExportConditions: ['node'] | ||
} | ||
|
||
} |
Large diffs are not rendered by default.
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
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
Oops, something went wrong.