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
import * as cdk from 'aws-cdk-lib'; | |
import { Construct } from 'constructs'; | |
import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs'; | |
import * as iam from 'aws-cdk-lib/aws-iam'; | |
import { Effect } from 'aws-cdk-lib/aws-iam'; | |
import * as lambda from 'aws-cdk-lib/aws-lambda'; | |
import * as apigw from 'aws-cdk-lib/aws-apigatewayv2'; | |
import { CorsHttpMethod } from 'aws-cdk-lib/aws-apigatewayv2'; | |
import { RetentionDays } from 'aws-cdk-lib/aws-logs'; | |
import * as integrations from 'aws-cdk-lib/aws-apigatewayv2-integrations'; |
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
import { flushPromises, mount, type VueWrapper } from '@vue/test-utils'; | |
import { expect } from 'vitest'; | |
import foo from '~/pages/foo.vue'; | |
import { getJsonRequests, server } from '~/tests/mocks/server'; | |
import { HttpResponse, http } from 'msw'; | |
describe('foo', () => { | |
let wrapper: VueWrapper; | |
afterEach(() => { |
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
AWSTemplateFormatVersion: "2010-09-09" | |
Parameters: | |
RepositoryName: | |
Type: String | |
PipelineName: | |
Default: cloudfront-cd-pipeline | |
Type: String | |
CloudFormationStackName: | |
Default: staging-cloudfront-distribution |
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
import * as cdk from 'aws-cdk-lib'; | |
import { Construct } from 'constructs'; | |
import * as nodejsLambda from 'aws-cdk-lib/aws-lambda-nodejs'; | |
import { FunctionUrlAuthType, LayerVersion, Runtime } from 'aws-cdk-lib/aws-lambda'; | |
import * as iam from 'aws-cdk-lib/aws-iam'; | |
import * as appConfig from 'aws-cdk-lib/aws-appconfig'; | |
import { Effect } from 'aws-cdk-lib/aws-iam'; | |
import { RetentionDays } from 'aws-cdk-lib/aws-logs'; | |
export class CdkStack extends cdk.Stack { |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: server | |
namespace: foo | |
data: | |
server.go: | | |
package main | |
import ( | |
"fmt" |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: server | |
namespace: bar | |
data: | |
server.go: | | |
package main | |
import ( | |
"fmt" |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: server | |
namespace: foo | |
data: | |
server.go: | | |
package main | |
import ( | |
"fmt" |