Skip to content

Commit b2f8daa

Browse files
authored
fix: 🔨 update test snippet to given, when, then (#29)
Since we have moved away from AAA. Alternatively, this can be removed. I'm not sure anyone uses it. (Saw it this morning during the status meeting, when looking at the `examples` repo and was reminded that I made this change a while ago without pushing it) <!-- Select quick/in-depth as necessary --> This PR needs a quick review.
1 parent 6bdaf60 commit b2f8daa

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.vscode/python.code-snippets

+10-11
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,19 @@
1313
// "description": "Log output to console"
1414
// }
1515
"Insert a Python test": {
16-
"prefix": "test-aaa",
16+
"prefix": "test-gwt",
1717
"body": [
1818
"def test_$1():",
19-
" # Arrange",
20-
" $2",
21-
" ",
22-
" # Act",
23-
" $3",
24-
" ",
25-
" # Assert",
26-
" $4",
19+
" # Given",
20+
" $2",
21+
" ",
22+
" # When",
23+
" $3",
24+
" ",
25+
" # Then",
26+
" $4",
2727
"",
2828
],
29-
"description": "Create AAA test"
29+
"description": "Create Given-When-Then test"
3030
}
31-
3231
}

0 commit comments

Comments
 (0)