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>
33 lines
819 B
JavaScript
33 lines
819 B
JavaScript
// @ts-check
|
|
// Protractor configuration file, see link for more information
|
|
// https://github.com/angular/protractor/blob/master/lib/config.ts
|
|
|
|
const { SpecReporter } = require('jasmine-spec-reporter');
|
|
|
|
/**
|
|
* @type { import("protractor").Config }
|
|
*/
|
|
exports.config = {
|
|
allScriptsTimeout: 11000,
|
|
specs: ['./src/**/*.e2e-spec.ts'],
|
|
capabilities: {
|
|
browserName: 'chrome',
|
|
},
|
|
directConnect: true,
|
|
baseUrl: 'http://localhost:4200/',
|
|
framework: 'jasmine',
|
|
jasmineNodeOpts: {
|
|
showColors: true,
|
|
defaultTimeoutInterval: 30000,
|
|
print: function() {},
|
|
},
|
|
onPrepare() {
|
|
require('ts-node').register({
|
|
project: require('path').join(__dirname, './tsconfig.json'),
|
|
});
|
|
jasmine
|
|
.getEnv()
|
|
.addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
|
|
},
|
|
};
|