I wrote some tests and everything works successfully, but my IDE (webstorm) allocates describe, expectand itand said: "Can not find the name." I want to keep everything clean and get rid of them, but I have no idea how to do this.
We use a protractor and jasmine.

A few more from the script:
import {HomePO} from './pageobjects/home'
import {browser } from 'protractor'
describe('Smoke test', function() {
it('should initialize', function() {
let width = 320;
let height = 568;
browser.driver.manage().window().setSize(width, height);
});
it('should open homepage', function() {
HomePO.get();
expect(HomePO.isCurrentPage()).toBe(true);
});
});
source
share