Skip to content

Commit

Permalink
chore: Update builder test (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasjo authored Aug 7, 2024
1 parent eecc015 commit 4b3516a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/builder/test/index.test.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const path = require('path');
const fs = require('fs');
const { build } = require('../src');
const builder = require('../src/index');

afterEach(() => {
fs.rmSync(path.resolve(__dirname, '..', 'build'), { recursive: true });
});

test('It can build a radar', async () => {
const outputFile = path.resolve(__dirname, '..', 'build', 'js', 'radar.json');
await build(
await builder.build(
path.resolve(__dirname, 'radar', 'valid'),
outputFile,
);
Expand Down

0 comments on commit 4b3516a

Please sign in to comment.