Skip to content

Commit

Permalink
Fix missing toMatchPath for Windows testing (missing in #232)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Apr 7, 2024
1 parent 7353547 commit 60622bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nuekit/test/nuekit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function createFront(title, pubDate) {
test('defaults', async () => {
const site = await getSite()
expect(site.is_empty).toBe(true)
expect(site.dist).toBe('_test/.dist/dev')
expect(site.dist).toMatchPath('_test/.dist/dev')
expect(site.port).toBe(8080)
expect(site.globals).toEqual([])
})
Expand All @@ -71,7 +71,7 @@ test('site.yaml', async () => {
const site = await getSite()

expect(site.globals).toEqual(['global'])
expect(site.dist).toBe('_test/.mydist')
expect(site.dist).toMatchPath('_test/.mydist')
expect(site.port).toBe(1500)

// teardown
Expand All @@ -83,7 +83,7 @@ test('environment', async () => {
await write(env, 'dist: .alt')
const site = await createSite({ root, env })

expect(site.dist).toBe('_test/.alt')
expect(site.dist).toMatchPath('_test/.alt')
expect(site.port).toBe(8080)
})

Expand Down

0 comments on commit 60622bf

Please sign in to comment.