Skip to content

Commit

Permalink
Test for new config generation templates instead of old printer templ…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
miklschmidt committed Jan 4, 2024
1 parent bdf6466 commit c241005
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/__tests__/configuration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,11 @@ describe('configuration', async () => {
});
test.concurrent('has an existing template file', async () => {
expect(
fs.existsSync(path.join(environment.RATOS_CONFIGURATION_PATH, 'templates', printer.template)),
fs.existsSync(
path.resolve(
path.join(__dirname, `../templates/${printer.template.replace('-printer.template.cfg', '.ts')}`),
),
),
).toBeTruthy();
});
test.concurrent('has valid board default', () => {
Expand Down

0 comments on commit c241005

Please sign in to comment.