mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-03 07:48:46 +08:00
15 lines
333 B
JavaScript
15 lines
333 B
JavaScript
const chai = require('chai');
|
|
chai.use(require('chai-as-promised'))
|
|
const expect = chai.expect;
|
|
|
|
module.exports = {
|
|
name: 'single write for trace and span',
|
|
do: async t => {
|
|
let result;
|
|
|
|
const TEST_FILENAME = 'test_telem.txt';
|
|
|
|
await t.write(TEST_FILENAME, 'example\n', { overwrite: true });
|
|
}
|
|
};
|