@brightdata/n8n-nodes-brightdata
Version:
Bright Data service for scraping purposes in n8n
21 lines • 829 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const BrightData_node_1 = require("../nodes/BrightData/BrightData.node");
describe('BrightData', () => {
let node;
beforeEach(() => {
node = new BrightData_node_1.BrightData();
});
it('should be defined', () => {
expect(node).toBeDefined();
});
it('should have the correct properties', () => {
expect(node.description).toBeDefined();
expect(node.description.displayName).toBe('BrightData');
expect(node.description.name).toBe('brightData');
expect(node.description.icon).toBe('file:brightdatasquared.svg');
expect(node.description.group).toEqual(["transform"]);
expect(node.description.version).toBe(1);
});
});
//# sourceMappingURL=BrightData.node.test.js.map