Skip to content

Commit 3b72167

Browse files
committed
fix(test): rename loadedfeature to loadedFeature for camelCase convention
1 parent 0b899dd commit 3b72167

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

‎test/core/column-kinds/geometry-column/geometry-column.test.ts‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ describe("column kinds > geometry column", () => {
3232
await featureRepository.save(feature)
3333

3434
// load and check if createdAt was a value set by us
35-
const loadedfeature = await featureRepository.findOneByOrFail({
35+
const loadedFeature = await featureRepository.findOneByOrFail({
3636
id: feature.id,
3737
})
38-
expect(loadedfeature.name).to.be.eql("feature")
39-
expect(loadedfeature.shape).to.be.eql(
38+
expect(loadedFeature.name).to.be.eql("feature")
39+
expect(loadedFeature.shape).to.be.eql(
4040
"POINT (828365.16700000037 823377.14699999988)",
4141
)
4242
}),
@@ -55,23 +55,23 @@ describe("column kinds > geometry column", () => {
5555
await featureRepository.save(feature)
5656

5757
// load and check if createdAt was a value set by us
58-
const loadedfeature = await featureRepository.findOneByOrFail({
58+
const loadedFeature = await featureRepository.findOneByOrFail({
5959
id: feature.id,
6060
})
61-
expect(loadedfeature.name).to.be.eql("feature")
62-
expect(loadedfeature.shape).to.be.eql(
61+
expect(loadedFeature.name).to.be.eql("feature")
62+
expect(loadedFeature.shape).to.be.eql(
6363
"POINT (828365.16700000037 823377.14699999988)",
6464
)
6565

6666
feature.shape = "POINT (728365.16700000037 723377.14699999988)"
6767
await featureRepository.save(feature)
6868

6969
// load and check if createdAt is a date (generated by db)
70-
const updatedfeature = await featureRepository.findOneByOrFail({
70+
const updatedFeature = await featureRepository.findOneByOrFail({
7171
id: feature.id,
7272
})
73-
expect(updatedfeature.name).to.be.eql("feature")
74-
expect(updatedfeature.shape).to.be.eql(
73+
expect(updatedFeature.name).to.be.eql("feature")
74+
expect(updatedFeature.shape).to.be.eql(
7575
"POINT (728365.16700000037 723377.14699999988)",
7676
)
7777
}),
@@ -90,11 +90,11 @@ describe("column kinds > geometry column", () => {
9090
await featureRepository.save(feature)
9191

9292
// load and check if createdAt is a date (generated by db)
93-
const loadedfeature = await featureRepository.findOneByOrFail({
93+
const loadedFeature = await featureRepository.findOneByOrFail({
9494
id: feature.id,
9595
})
96-
expect(loadedfeature.name).to.be.eql("feature")
97-
expect(loadedfeature.shape).to.be.eql("POINT (0 0)")
96+
expect(loadedFeature.name).to.be.eql("feature")
97+
expect(loadedFeature.shape).to.be.eql("POINT (0 0)")
9898
}),
9999
))
100100

@@ -111,21 +111,21 @@ describe("column kinds > geometry column", () => {
111111
await featureRepository.save(feature)
112112

113113
// load and check if createdAt is a date (generated by db)
114-
const loadedfeature = await featureRepository.findOneByOrFail({
114+
const loadedFeature = await featureRepository.findOneByOrFail({
115115
id: feature.id,
116116
})
117-
expect(loadedfeature.name).to.be.eql("feature")
118-
expect(loadedfeature.shape).to.be.eql("POINT (0 0)")
117+
expect(loadedFeature.name).to.be.eql("feature")
118+
expect(loadedFeature.shape).to.be.eql("POINT (0 0)")
119119

120120
feature.shape = "POINT (0.5 0.5)"
121121
await featureRepository.save(feature)
122122

123123
// load and check if createdAt is a date (generated by db)
124-
const updatedfeature = await featureRepository.findOneByOrFail({
124+
const updatedFeature = await featureRepository.findOneByOrFail({
125125
id: feature.id,
126126
})
127-
expect(updatedfeature.name).to.be.eql("feature")
128-
expect(updatedfeature.shape).to.be.eql("POINT (0.5 0.5)")
127+
expect(updatedFeature.name).to.be.eql("feature")
128+
expect(updatedFeature.shape).to.be.eql("POINT (0.5 0.5)")
129129
}),
130130
))
131131
})

0 commit comments

Comments
 (0)