Skip to content

Commit

Permalink
chore: add comments in jest.config.js files
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsonevv committed Apr 25, 2024
1 parent 90cb029 commit df0c336
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions packages/accounts/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/biometric-ed25519/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/crypto/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/keystores-browser/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/keystores-node/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/keystores/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/providers/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/signers/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/transactions/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ module.exports = {
projects: [
{
displayName: "dom",
testEnvironment: "jsdom",
testEnvironment: "jsdom", // runs tests in a browser-like environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.dom.js?(x)",
],
},
{
displayName: "node",
testEnvironment: "node",
testEnvironment: "node", // runs tests in a Node.js environment
testMatch: [
"**/test/**/*.test.js?(x)",
"**/test/**/*.test.node.js?(x)",
Expand Down

0 comments on commit df0c336

Please sign in to comment.