-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: incompatible jest versions * chore: Migrate to ng v17 * chore: Migrate to angular material/cdk v16 * chore: Migrate to angular material/cdk v17 * chore: Update .gitignore * feat: Make required changes to work with ng 17 * feat: Migrate to standalone components * feat: Tiny rebranding * chore: fix tests and build * chore: switch to cypress for testing * chore: switch to cypress for testing * chore: fix image build path --------- Co-authored-by: mdasberg <mischa@dasberg.nl>
- Loading branch information
1 parent
47b0154
commit 2288d2f
Showing
91 changed files
with
7,979 additions
and
8,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
FORCE_EXIT: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,3 +59,5 @@ typings/ | |
|
||
# next.js build output | ||
.next | ||
|
||
.angular |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import {defineConfig} from "cypress"; | ||
import createBundler from "@bahmutov/cypress-esbuild-preprocessor"; | ||
import {addCucumberPreprocessorPlugin} from "@badeball/cypress-cucumber-preprocessor"; | ||
// @ts-ignore | ||
import {createEsbuildPlugin} from "@badeball/cypress-cucumber-preprocessor/esbuild"; | ||
|
||
async function setupNodeEvents( | ||
on: Cypress.PluginEvents, | ||
config: Cypress.PluginConfigOptions | ||
): Promise<Cypress.PluginConfigOptions> { | ||
// This is required for the preprocessor to be able to generate JSON reports after each run, and more, | ||
await addCucumberPreprocessorPlugin(on, config); | ||
|
||
on("file:preprocessor", createBundler({ | ||
plugins: [createEsbuildPlugin(config)], | ||
}) | ||
); | ||
|
||
// Make sure to return the config object as it might have been modified by the plugin. | ||
return config; | ||
} | ||
|
||
export default defineConfig({ | ||
e2e: { | ||
baseUrl: 'http://localhost:9999', | ||
env: { | ||
NG_API_MOCK_BASE_URL: 'http://localhost:9999', | ||
NG_API_MOCK_ENABLE_LOGS: 'false' | ||
}, | ||
specPattern: "test/features/**/*.feature", | ||
supportFile: 'test/support.ts', | ||
setupNodeEvents, | ||
video: false | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
import { Component } from '@angular/core'; | ||
import { RouterOutlet } from '@angular/router'; | ||
import { HeaderComponent } from './header/header.component'; | ||
|
||
|
||
@Component({ | ||
selector: 'apimock-root', | ||
templateUrl: './app.component.html' | ||
templateUrl: './app.component.html', | ||
standalone: true, | ||
imports: [RouterOutlet, HeaderComponent] | ||
}) | ||
export class AppComponent { | ||
} |
Oops, something went wrong.