Skip to content

Commit 14c6f40

Browse files
committed
Update test canse and test cmd in root package.json
1 parent a585cd5 commit 14c6f40

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

danfojs-node/tests/core/series.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ describe("Series", function () {
338338
it("Computes the multi-modal values of a Series", function () {
339339
let data1 = [ 30, 40, 3, 5, 5, 5, 5, 5, 3, 3, 3, 21, 3 ];
340340
let sf = new Series(data1);
341-
assert.deepEqual(sf.mode(), [ 3, 5 ]);
341+
assert.deepEqual(sf.mode(), [ 5, 3 ]);
342342
});
343343
it("Computes the modal value of a Series", function () {
344344
let data1 = [ 30.1, 3.1, 40.2, 3.1, 5.1 ];

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"danfojs-browser/**"
77
],
88
"scripts": {
9-
"build": "cd danfojs-node && yarn build && cd ../danfojs-browser && yarn bundle"
9+
"build": "cd danfojs-node && yarn build && cd ../danfojs-browser && yarn bundle",
10+
"test": "cd danfojs-node && yarn test && cd ../danfojs-browser && yarn test"
1011
}
1112
}

0 commit comments

Comments
 (0)