Skip to content

Commit 38dca7a

Browse files
committed
fix: remove tsup for now
1 parent fbd7802 commit 38dca7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"scripts": {
1111
"watch": "yarn tsc -W",
12-
"build": "tsup src/index.ts --format esm,cjs --dts",
12+
"build": "tsc",
1313
"test": "jest",
1414
"test:watch": "jest --watch",
1515
"bump": "yarn tsc && yarn version --no-git-tag-version --new-version"
@@ -20,11 +20,9 @@
2020
},
2121
"types": "./dist/index.d.ts",
2222
"main": "./dist/index.js",
23-
"module": "./dist/index.mjs",
2423
"devDependencies": {
2524
"@tsconfig/node16": "^16.1.1",
2625
"@types/node": "^20.10.4",
27-
"tsup": "^8.0.1",
2826
"@types/node-fetch": "^2",
2927
"jest": "^29.7.0"
3028
},

tests/navigationFolders.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ test('Test Nav fetching Node: Shop', async () => {
1414
expect(response.tree.children[0].children[0].path).toBe('/shop/decoration/shelves-in-wood-hey');
1515

1616
expect(response.tree.children[1].path).toBe('/shop/bathroom-fitting');
17-
expect(response.tree.children[1].children[2].path).toBe('/shop/bathroom-fitting/mounted-bathroom-vanity-in-gray');
17+
expect(response.tree.children[1].children[2].path).toBe(
18+
'/shop/bathroom-fitting/mounted-bathroom-vanity-in-treated-wood',
19+
);
1820

1921
// Verify all tree nodes have id properties
2022
walkTree([response.tree], (node) => {

0 commit comments

Comments
 (0)