mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
* Add API for frameworks and examples * Adjust headers * Update frameworks list * Always use latest * Add types * Use now repo for downloading and listing * Use .existsSync * Remove unused packages * Use 307 for redirect * Add examples * Update tsconfig.json Co-Authored-By: Steven <steven@ceriously.com> * Make examples unique * Remove detectors from frameworks API * Use /api instead of Next.js * Install dependencies * Rename project * Change name * Empty * Change name * Update api/tsconfig.json Co-Authored-By: Steven <steven@ceriously.com> * Update examples Co-authored-by: Steven <steven@ceriously.com>
29 lines
673 B
TypeScript
29 lines
673 B
TypeScript
import { AppPage } from './app.po';
|
|
import { browser, logging } from 'protractor';
|
|
|
|
describe('workspace-project App', () => {
|
|
let page: AppPage;
|
|
|
|
beforeEach(() => {
|
|
page = new AppPage();
|
|
});
|
|
|
|
it('should display welcome message', () => {
|
|
page.navigateTo();
|
|
expect(page.getTitleText()).toEqual('Welcome to angular!');
|
|
});
|
|
|
|
afterEach(async () => {
|
|
// Assert that there are no errors emitted from the browser
|
|
const logs = await browser
|
|
.manage()
|
|
.logs()
|
|
.get(logging.Type.BROWSER);
|
|
expect(logs).not.toContain(
|
|
jasmine.objectContaining({
|
|
level: logging.Level.SEVERE,
|
|
} as logging.Entry)
|
|
);
|
|
});
|
|
});
|