fix(core): Migrate file I/O to @push.rocks/smartfs, adopt TC39 decorators v3 accessor in web components, and update docs/tests
This commit is contained in:
@@ -99,10 +99,8 @@ tap.test("should create an invoice", async () => {
|
||||
const pdfResult = await testPdfServiceInstance.createPdfFromLetterObject(
|
||||
optionsArg
|
||||
);
|
||||
await plugins.smartfile.memory.toFs(
|
||||
Buffer.from(pdfResult.buffer),
|
||||
plugins.path.join(paths.nogitDir, `test-${counter++}.pdf`)
|
||||
);
|
||||
await plugins.smartfs.file(plugins.path.join(paths.nogitDir, `test-${counter++}.pdf`))
|
||||
.write(Buffer.from(pdfResult.buffer));
|
||||
};
|
||||
await saveResult({
|
||||
letterData: testLetterData,
|
||||
|
||||
Reference in New Issue
Block a user