Skip to content

Commit

Permalink
feat: 🔧 add karma stargaze process mock
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSegullo committed Sep 6, 2024
1 parent 6afd20a commit 8597e3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/stargate/global-variables.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const process = {
env: {
TENDERMINT_ENABLED: 1,
}
};
2 changes: 1 addition & 1 deletion packages/stargate/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function (config) {
frameworks: ["jasmine"],

// list of files / patterns to load in the browser
files: ["dist/web/tests.js"],
files: ["./global-variables.js", "dist/web/tests.js"],

client: {
jasmine: {
Expand Down

0 comments on commit 8597e3c

Please sign in to comment.