Skip to content

Commit 2dedffc

Browse files
authored
test: fix disabled tests after #103 (#124)
1 parent 212de6d commit 2dedffc

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "msr-test-pkgroot-options",
3+
"author": "Badisi <https://github.com/Badisi>",
4+
"version": "0.0.0-semantically-released",
5+
"private": true,
6+
"license": "0BSD",
7+
"engines": {
8+
"node": ">=8.3"
9+
},
10+
"workspaces": [
11+
"packages/*"
12+
],
13+
"release": {
14+
"plugins": [
15+
"@semantic-release/commit-analyzer",
16+
"@semantic-release/release-notes-generator",
17+
[
18+
"@semantic-release/npm",
19+
{
20+
"pkgRoot": "../../dist",
21+
"npmPublish": false
22+
}
23+
]
24+
],
25+
"noCi": true
26+
}
27+
}

test/fixtures/pkgRootOptions/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
[
1818
"@semantic-release/npm",
1919
{
20+
"pkgRoot": "../../dist",
2021
"npmPublish": false
2122
}
2223
]

test/lib/multiSemanticRelease.test.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,7 @@ describe("multiSemanticRelease()", () => {
609609
},
610610
});
611611
}, 10000);
612-
// NOTE works on Node.js v16.14.2 npm 8.5.0, fails on Node v18.8.0 and npm 8.18.0
613-
test.skip("Two separate releases (changes in all packages included those in pkgRoot destinations)", async () => {
612+
test("Two separate releases (changes in all packages included those in pkgRoot destinations)", async () => {
614613
const packages = ["packages/a/", "packages/b/", "packages/c/", "packages/d/"];
615614

616615
// Create Git repo with copy of Yarn workspaces fixture.

0 commit comments

Comments
 (0)