Skip to content

Commit b1c00fe

Browse files
committed
add gatsby
1 parent d7194d4 commit b1c00fe

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

.github/workflows/mutation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ jobs:
142142
'angular',
143143
'astro',
144144
'aws-serverless',
145-
'core',
146145
'browser',
146+
'core',
147+
'gatsby',
147148
'node',
148149
'svelte',
149150
'sveltekit',

packages/gatsby/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const baseConfig = require('../../jest/jest.config.js');
1+
const baseConfig = require('@sentry-internal/jest-config');
22

33
module.exports = {
44
...baseConfig,

packages/gatsby/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"lint": "eslint . --format stylish",
8080
"test": "yarn ts-node scripts/pretest.ts && yarn jest",
8181
"test:watch": "yarn ts-node scripts/pretest.ts && yarn jest --watch",
82+
"test:mutation": "node ./../../scripts/stryker/run-with-sentry.mjs",
8283
"yalc:publish": "yalc publish --push --sig"
8384
},
8485
"volta": {

packages/gatsby/stryker.config.mjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import baseConfig from '@sentry-internal/stryker-config/config';
2+
3+
/** @type {import('@stryker-mutator/api/core').PartialStrykerOptions} */
4+
const config = {
5+
...baseConfig,
6+
testRunner: 'jest',
7+
dashboard: {
8+
...baseConfig.dashboard,
9+
module: '@sentry/gatsby',
10+
},
11+
};
12+
13+
export default config;

0 commit comments

Comments
 (0)