Skip to content

Commit 5e61e81

Browse files
test: update verify tests
Refs: #159
1 parent dc86b90 commit 5e61e81

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

test/1-verify-plugin.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Plugin verification', () => {
3838
{
3939
type: 'plugin',
4040
slug: 'bad-plugin',
41-
path: './test/fixtures',
41+
path: './test/fixtures/bad-plugin',
4242
},
4343
context,
4444
);
@@ -56,7 +56,7 @@ describe('Plugin verification', () => {
5656
{
5757
type: 'plugin',
5858
slug: 'bad-version',
59-
path: './test/fixtures',
59+
path: './test/fixtures/bad-version',
6060
},
6161
context,
6262
);
@@ -73,7 +73,7 @@ describe('Plugin verification', () => {
7373
{
7474
type: 'plugin',
7575
slug: 'other-bad-plugin',
76-
path: './test/fixtures',
76+
path: './test/fixtures/other-bad-plugin',
7777
},
7878
context,
7979
);
@@ -91,7 +91,7 @@ describe('Plugin verification', () => {
9191
{
9292
type: 'plugin',
9393
slug: 'plugin1',
94-
path: './test/fixtures',
94+
path: './test/fixtures/plugin1',
9595
},
9696
context,
9797
),

test/1-verify-theme.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Theme verification', () => {
3838
{
3939
type: 'theme',
4040
slug: 'bad-theme',
41-
path: './test/fixtures',
41+
path: './test/fixtures/bad-theme',
4242
},
4343
context,
4444
);
@@ -56,7 +56,7 @@ describe('Theme verification', () => {
5656
{
5757
type: 'theme',
5858
slug: 'bad-theme-version',
59-
path: './test/fixtures',
59+
path: './test/fixtures/bad-theme-version',
6060
},
6161
context,
6262
);
@@ -73,7 +73,7 @@ describe('Theme verification', () => {
7373
{
7474
type: 'theme',
7575
slug: 'theme-bad-header',
76-
path: './test/fixtures',
76+
path: './test/fixtures/theme-bad-header',
7777
},
7878
context,
7979
);
@@ -91,7 +91,7 @@ describe('Theme verification', () => {
9191
{
9292
type: 'theme',
9393
slug: 'complete-theme',
94-
path: './test/fixtures',
94+
path: './test/fixtures/complete-theme',
9595
},
9696
context,
9797
),

0 commit comments

Comments
 (0)