Skip to content

Commit 48732a8

Browse files
Update test names
1 parent fc9588a commit 48732a8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

extensions/ql-vscode/src/view/model-editor/__tests__/MethodRow.spec.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ describe(MethodRow.name, () => {
252252
expect(screen.getByText("Method already modeled")).toBeInTheDocument();
253253
});
254254

255-
it("Doesn't show add/remove buttons when multiple methods feature flag is disabled", async () => {
255+
it("doesn't show add/remove buttons when multiple methods feature flag is disabled", async () => {
256256
render({
257257
modeledMethods: [modeledMethod],
258258
viewState: {
@@ -265,7 +265,7 @@ describe(MethodRow.name, () => {
265265
expect(screen.queryByLabelText("Remove model")).not.toBeInTheDocument();
266266
});
267267

268-
it("Button to add new model is disabled when there are no modeled methods", async () => {
268+
it("shows disabled button add new model when there are no modeled methods", async () => {
269269
render({
270270
modeledMethods: [],
271271
viewState: {
@@ -281,7 +281,7 @@ describe(MethodRow.name, () => {
281281
expect(screen.queryByLabelText("Remove model")).not.toBeInTheDocument();
282282
});
283283

284-
it("Button to add new model is disabled when there is one unmodeled method", async () => {
284+
it("disabled button to add new model when there is one unmodeled method", async () => {
285285
render({
286286
modeledMethods: [{ ...modeledMethod, type: "none" }],
287287
viewState: {
@@ -297,7 +297,7 @@ describe(MethodRow.name, () => {
297297
expect(screen.queryByLabelText("Remove model")).not.toBeInTheDocument();
298298
});
299299

300-
it("Add button is shown and enabed when there is one modeled methods", async () => {
300+
it("enabled button to add new model when there is one modeled method", async () => {
301301
render({
302302
modeledMethods: [modeledMethod],
303303
viewState: {
@@ -313,7 +313,7 @@ describe(MethodRow.name, () => {
313313
expect(screen.queryByLabelText("Remove model")).not.toBeInTheDocument();
314314
});
315315

316-
it("Add and remove buttons are shown and enabed when there are multiple modeled methods", async () => {
316+
it("enabled add/remove model buttons when there are multiple modeled methods", async () => {
317317
render({
318318
modeledMethods: [
319319
{ ...modeledMethod, type: "source" },
@@ -334,7 +334,7 @@ describe(MethodRow.name, () => {
334334
expect(removeButton).toBeEnabled();
335335
});
336336

337-
it("Shows add button on last row and remove button on all other rows", async () => {
337+
it("shows add model button on last row and remove model button on all other rows", async () => {
338338
render({
339339
modeledMethods: [
340340
{ ...modeledMethod, type: "source" },

0 commit comments

Comments
 (0)