Skip to content

Commit 071b9cf

Browse files
committed
fix: prettier
1 parent cf5b8f3 commit 071b9cf

3 files changed

Lines changed: 39 additions & 27 deletions

File tree

skillgym/suites/brownfield-navigation-suite.ts

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
1-
import type { SuiteWorkspaceConfig, TestSuite } from "skillgym";
2-
import { assert } from "skillgym";
1+
import type { SuiteWorkspaceConfig, TestSuite } from 'skillgym';
2+
import { assert } from 'skillgym';
33

44
export const workspace: SuiteWorkspaceConfig = {
5-
mode: "isolated",
6-
templateDir: "../template/skillgym-app",
5+
mode: 'isolated',
6+
templateDir: '../template/skillgym-app',
77
bootstrap: {
8-
command: "yarn",
9-
args: ["install"],
8+
command: 'yarn',
9+
args: ['install'],
1010
timeoutMs: 120_000,
1111
},
1212
};
1313

1414
const brownfieldNavigationSuite = [
15-
{
16-
id: "navigation-setup",
15+
{
16+
id: 'navigation-setup',
1717
prompt:
18-
"Setup brownfield navigation with navigate to profile method. DO NOT read/scan files under packages/** and apps/** OR node_modules/**.",
18+
'Setup brownfield navigation with navigate to profile method. DO NOT read/scan files under packages/** and apps/** OR node_modules/**.',
1919
assert(report) {
20-
assert.fileReads.includes(report, /brownfield-navigation\/references\/setup-codegen\.md$/);
20+
assert.fileReads.includes(
21+
report,
22+
/brownfield-navigation\/references\/setup-codegen\.md$/
23+
);
2124
assert.commands.includes(report, /npx brownfield navigation:codegen/i);
2225
assert.output.includes(report, /navigateToProfile/i);
2326
},
2427
},
2528
{
26-
id: "navigation-native-wiring",
27-
prompt: "How do I use the generated brownfield navigation on the native android app to complete the wiring?",
29+
id: 'navigation-native-wiring',
30+
prompt:
31+
'How do I use the generated brownfield navigation on the native android app to complete the wiring?',
2832
assert(report) {
29-
assert.fileReads.includes(report, /brownfield-navigation\/references\/native-integration\.md$/);
33+
assert.fileReads.includes(
34+
report,
35+
/brownfield-navigation\/references\/native-integration\.md$/
36+
);
3037
assert.output.includes(report, /BrownfieldNavigationDelegate/i);
3138
assert.output.includes(
3239
report,

skillgym/suites/brownie-suite.ts

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
import type { SuiteWorkspaceConfig, TestSuite } from "skillgym";
2-
import { assert } from "skillgym";
1+
import type { SuiteWorkspaceConfig, TestSuite } from 'skillgym';
2+
import { assert } from 'skillgym';
33

44
export const workspace: SuiteWorkspaceConfig = {
5-
mode: "isolated",
6-
templateDir: "../template/skillgym-app",
5+
mode: 'isolated',
6+
templateDir: '../template/skillgym-app',
77
bootstrap: {
8-
command: "yarn",
9-
args: ["install"],
8+
command: 'yarn',
9+
args: ['install'],
1010
timeoutMs: 120_000,
1111
},
1212
};
1313

1414
const brownieSuite = [
15-
{
16-
id: "brownie-setup",
15+
{
16+
id: 'brownie-setup',
1717
prompt:
1818
"Setup brownie with a new store called `user` and a method to get the user's name. Run the codegen to ensure native files are generated. Do not read files under packages/** and apps/**",
1919
assert(report) {
20-
assert.fileReads.includes(report, /brownie\/references\/getting-started\.md$/);
20+
assert.fileReads.includes(
21+
report,
22+
/brownie\/references\/getting-started\.md$/
23+
);
2124
assert.commands.includes(report, /npx brownfield codegen/i);
2225
},
2326
},
2427
{
25-
id: "brownie-native-wiring",
26-
prompt: "How do I use the generated brownie on the native android app to complete the wiring?",
28+
id: 'brownie-native-wiring',
29+
prompt:
30+
'How do I use the generated brownie on the native android app to complete the wiring?',
2731
assert(report) {
28-
assert.fileReads.includes(report, /brownie\/references\/android-usage\.md$/);
32+
assert.fileReads.includes(
33+
report,
34+
/brownie\/references\/android-usage\.md$/
35+
);
2936
assert.output.includes(report, /registerStoreIfNeeded/i);
3037
},
3138
},

yarn.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,8 +1917,6 @@ __metadata:
19171917
version: 0.0.0-use.local
19181918
resolution: "@callstack/brownfield-monorepo@workspace:."
19191919
dependencies:
1920-
"@callstack/brownfield-navigation": "workspace:^"
1921-
"@callstack/brownie": "workspace:^"
19221920
"@changesets/changelog-github": "npm:^0.6.0"
19231921
"@changesets/cli": "npm:^2.30.0"
19241922
"@commitlint/cli": "npm:^20.4.4"

0 commit comments

Comments
 (0)