bitburner-filesync/test/networking/messageGenerators.spec.ts
2022-09-30 22:24:21 -04:00

28 lines
748 B
TypeScript

import { expect } from 'chai';
import { fileChangeEventToMsg, fileRemovalEventToMsg, requestDefinitionFile, requestFilenames } from '../../src/networking/messageGenerators';
describe('messageGenerators', () => {
describe('fileChangeEventToMsg', () => {
it('should exist', () => {
expect(fileChangeEventToMsg).to.exist;
});
});
describe('fileRemovalEventToMsg', () => {
it('should exist', () => {
expect(fileRemovalEventToMsg).to.exist;
});
});
describe('requestDefinitionFile', () => {
it('should exist', () => {
expect(requestDefinitionFile).to.exist;
});
});
describe('requestFilenames', () => {
it('should exist', () => {
expect(requestFilenames).to.exist;
});
});
});