Skip to content

Commit fd70ac1

Browse files
authored
Merge pull request #1900 from cosmos/build-karma-bundle
Write Karma bundle to build/karma-bundle
2 parents ea7ad48 + ac79213 commit fd70ac1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+72
-54
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"build/",
1111
"*.md",
1212
"!*.spec.*",
13+
"!**/karma-bundle/",
1314
"!**/testdata/"
1415
],
1516
"repository": {

packages/amino/karma.conf.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function (config) {
1515
frameworks: ["jasmine"],
1616

1717
// list of files / patterns to load in the browser
18-
files: ["dist/web/tests.js"],
18+
files: ["build/karma-bundle/tests.js"],
1919

2020
client: {
2121
jasmine: {

packages/amino/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"*.md",
1616
"!*.spec.*",
1717
"!*testutils.*",
18+
"!**/karma-bundle/",
1819
"!**/testdata/"
1920
],
2021
"repository": {

packages/amino/webpack.web.config.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { globSync } = require("glob");
22
const path = require("path");
33

44
const target = "web";
5-
const distdir = path.join(__dirname, "dist", "web");
5+
const bundleDir = path.join(__dirname, "build", "karma-bundle");
66

77
module.exports = [
88
{
@@ -11,7 +11,7 @@ module.exports = [
1111
entry: globSync("./build/**/*.spec.js", { dotRelative: true }).sort(),
1212
output: {
1313
asyncChunks: false,
14-
path: distdir,
14+
path: bundleDir,
1515
filename: "tests.js",
1616
},
1717
resolve: {

packages/cosmwasm-stargate/karma.conf.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function (config) {
1515
frameworks: ["jasmine"],
1616

1717
// list of files / patterns to load in the browser
18-
files: ["dist/web/tests.js"],
18+
files: ["build/karma-bundle/tests.js"],
1919

2020
client: {
2121
jasmine: {

packages/cosmwasm-stargate/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"*.md",
1616
"!*.spec.*",
1717
"!*testutils.*",
18+
"!**/karma-bundle/",
1819
"!**/testdata/"
1920
],
2021
"repository": {

packages/cosmwasm-stargate/webpack.web.config.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require("path");
33
const webpack = require("webpack");
44

55
const target = "web";
6-
const distdir = path.join(__dirname, "dist", "web");
6+
const bundleDir = path.join(__dirname, "build", "karma-bundle");
77

88
module.exports = [
99
{
@@ -12,7 +12,7 @@ module.exports = [
1212
entry: globSync("./build/**/*.spec.js", { dotRelative: true }).sort(),
1313
output: {
1414
asyncChunks: false,
15-
path: distdir,
15+
path: bundleDir,
1616
filename: "tests.js",
1717
},
1818
plugins: [

packages/crypto/karma.conf.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function (config) {
1515
frameworks: ["jasmine"],
1616

1717
// list of files / patterns to load in the browser
18-
files: ["dist/web/tests.js"],
18+
files: ["build/karma-bundle/tests.js"],
1919

2020
client: {
2121
jasmine: {

packages/crypto/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"build/",
1616
"*.md",
1717
"!*.spec.*",
18+
"!**/karma-bundle/",
1819
"!**/testdata/"
1920
],
2021
"repository": {

packages/crypto/webpack.web.config.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { globSync } = require("glob");
22
const path = require("path");
33

44
const target = "web";
5-
const distdir = path.join(__dirname, "dist", "web");
5+
const bundleDir = path.join(__dirname, "build", "karma-bundle");
66

77
module.exports = [
88
{
@@ -11,7 +11,7 @@ module.exports = [
1111
entry: globSync("./build/**/*.spec.js", { dotRelative: true }).sort(),
1212
output: {
1313
asyncChunks: false,
14-
path: distdir,
14+
path: bundleDir,
1515
filename: "tests.js",
1616
},
1717
resolve: {

0 commit comments

Comments
 (0)