Skip to content

Commit c75eed2

Browse files
committed
build: Disable ember tests until we fix its pre-release build
1 parent ea5fd12 commit c75eed2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
key: ${{ runner.os }}-${{ github.sha }}
8888
- run: yarn install
8989
- name: Unit Tests
90-
run: yarn test
90+
run: yarn test --ignore="@sentry/ember"
9191
- uses: codecov/codecov-action@v1
9292

9393
job_browserstack_test:

packages/serverless/src/awslambda.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface WrapperOptions {
2626
rethrowAfterCapture: boolean;
2727
callbackWaitsForEmptyEventLoop: boolean;
2828
captureTimeoutWarning: boolean;
29-
timeoutWarning: number;
29+
timeoutWarningLimit: number;
3030
}
3131

3232
/**
@@ -117,7 +117,7 @@ export const wrapHandler = <TEvent = any, TResult = any>(
117117
handler: Handler,
118118
handlerOptions: Partial<WrapperOptions> = {},
119119
): Handler => {
120-
const options = {
120+
const options: WrapperOptions = {
121121
flushTimeout: 2000,
122122
rethrowAfterCapture: true,
123123
callbackWaitsForEmptyEventLoop: false,

scripts/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -le 6 ]]; then
1010
yarn build --ignore="@sentry/ember" --ignore="@sentry/serverless"
1111
nvm use 6
1212
# browser can be tested only on Node >= v8 because Karma is not supporting anything older
13-
yarn test --ignore="@sentry/tracing" --ignore="@sentry/react" --ignore="@sentry/gatsby" --ignore="@sentry/ember" --ignore="@sentry-internal/eslint-plugin-sdk" --ignore="@sentry-internal/eslint-config-sdk" --ignore="@sentry/serverless" --ignore="@sentry/browser" --ignore="@sentry/integrations"
13+
yarn test --ignore="@sentry/tracing" --ignore="@sentry/react" --ignore="@sentry/gatsby" --ignore="@sentry/ember" --ignore="@sentry-internal/eslint-plugin-sdk" --ignore="@sentry-internal/eslint-config-sdk" --ignore="@sentry/serverless" --ignore="@sentry/browser" --ignore="@sentry/integrations"
1414
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -le 8 ]]; then
1515
yarn install --ignore-engines --ignore-scripts
1616
# ember requires Node >= 10 to build
@@ -20,5 +20,5 @@ elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -le 8 ]]; then
2020
else
2121
yarn install
2222
yarn build
23-
yarn test
23+
yarn test --ignore="@sentry/ember"
2424
fi

0 commit comments

Comments
 (0)