Update tests

This commit is contained in:
freearhey 2025-04-02 07:12:46 +03:00
parent 510d89c8c8
commit 37664b49b9
8 changed files with 56 additions and 67 deletions

View file

@ -24,13 +24,13 @@ it('can create new site config from template', () => {
expect(exists('tests/__data__/output/sites/example.com/example.com.config.js')).toBe(true)
expect(exists('tests/__data__/output/sites/example.com/readme.md')).toBe(true)
expect(content('tests/__data__/output/sites/example.com/example.com.test.js')).toEqual(
content('tests/__data__/expected/sites/sites-init/example.com.test.js')
content('tests/__data__/expected/sites_init/example.com.test.js')
)
expect(content('tests/__data__/output/sites/example.com/example.com.config.js')).toEqual(
content('tests/__data__/expected/sites/sites-init/example.com.config.js')
content('tests/__data__/expected/sites_init/example.com.config.js')
)
expect(content('tests/__data__/output/sites/example.com/readme.md')).toEqual(
content('tests/__data__/expected/sites/sites-init/readme.md')
content('tests/__data__/expected/sites_init/readme.md')
)
})