@vitessce/sets-utils 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { dataToCellSetsTree } from './CellSetsZarrLoader.js';
2
3
  describe('loaders/CellSetsZarrLoader', () => {
3
4
  it('dataToCellSetsTree constructs a hierarchy from an array of columns', async () => {
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable no-underscore-dangle */
2
+ import { describe, it, expect } from 'vitest';
2
3
  import { cloneDeep } from 'lodash-es';
3
4
  import { nodeToRenderProps, nodeToSet, nodeToHeight, treeFindNodeByNamePath, nodeTransform, treeToUnion, treeToIntersection, treeToComplement, nodeToLevelDescendantNamePaths, treeExport, filterNode, treeToSetSizesBySetNames, } from './cell-set-utils.js';
4
5
  import { levelTwoNodeLeaf, levelZeroNode, tree, } from './cell-set-utils.test.fixtures.js';
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { handleImportJSON, handleExportJSON, handleImportTabular, handleExportTabular, } from './io.js';
2
3
  const treeV012 = {
3
4
  version: '0.1.2',
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { filterPathsByExpansionAndSelection, findChangedHierarchy } from './set-path-utils.js';
2
3
  describe('Tests for findChangedHierarchy', () => {
3
4
  it('Computes correct new hierarchy after new selection', () => {
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { getObsInfoFromDataWithinRange } from './utils.js';
2
3
  describe('getObsInfoFromDataWithinRange', () => {
3
4
  it('should return the correct obs info with no gene defined', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/sets-utils",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -25,12 +25,12 @@
25
25
  "lodash-es": "^4.17.21",
26
26
  "tinycolor2": "^1.4.1",
27
27
  "uuid": "^9.0.0",
28
- "@vitessce/schemas": "3.0.0",
29
- "@vitessce/utils": "3.0.0"
28
+ "@vitessce/schemas": "3.0.1",
29
+ "@vitessce/utils": "3.0.1"
30
30
  },
31
31
  "scripts": {
32
32
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
33
- "test": "pnpm exec vitest --run -r ../../../ --dir ."
33
+ "test": "pnpm exec vitest --run"
34
34
  },
35
35
  "module": "dist/index.js",
36
36
  "exports": {
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { dataToCellSetsTree } from './CellSetsZarrLoader.js';
2
3
 
3
4
  describe('loaders/CellSetsZarrLoader', () => {
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable no-underscore-dangle */
2
+ import { describe, it, expect } from 'vitest';
2
3
  import { cloneDeep } from 'lodash-es';
3
4
 
4
5
  import {
package/src/io.test.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import {
2
3
  handleImportJSON, handleExportJSON, handleImportTabular, handleExportTabular,
3
4
  } from './io.js';
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { filterPathsByExpansionAndSelection, findChangedHierarchy } from './set-path-utils.js';
2
3
 
3
4
  describe('Tests for findChangedHierarchy', () => {
package/src/utils.test.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { getObsInfoFromDataWithinRange } from './utils.js';
2
3
 
3
4