Skip to content

Commit

Permalink
👽 fix deprecated fakerjs function (#28)
Browse files Browse the repository at this point in the history
* 👽 fix deprecated fakerjs function

* 🔖 chore: update version
  • Loading branch information
depapp authored Jul 7, 2023
1 parent 9dfea5f commit 98e89c3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusakatest",
"version": "2.2.2",
"version": "2.2.3",
"description": "pusakatest is an automation testing tool based on pactum using bdd (cucumber) style",
"main": "index.js",
"bin": "bin/create-project",
Expand Down
2 changes: 1 addition & 1 deletion templates/english/features/support/data.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { faker } = require('@faker-js/faker')

const randomData = {
name: faker.name.fullName(),
name: faker.person.fullName(),
email: faker.internet.email(),
password: faker.internet.password()
}
Expand Down
2 changes: 1 addition & 1 deletion templates/english/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusakatest",
"version": "2.2.2",
"version": "2.2.3",
"description": "pusakatest is an automation testing tool based on pactum using bdd (cucumber) style",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion templates/hindi/features/support/data.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { faker } = require('@faker-js/faker')

const randomData = {
name: faker.name.fullName(),
name: faker.person.fullName(),
email: faker.internet.email(),
password: faker.internet.password()
}
Expand Down
2 changes: 1 addition & 1 deletion templates/hindi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusakatest",
"version": "2.2.2",
"version": "2.2.3",
"description": "pusakatest is an automation testing tool based on pactum using bdd (cucumber) style",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion templates/indonesian/features/support/data.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { faker } = require('@faker-js/faker')

const randomData = {
name: faker.name.fullName(),
name: faker.person.fullName(),
email: faker.internet.email(),
password: faker.internet.password()
}
Expand Down
2 changes: 1 addition & 1 deletion templates/indonesian/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusakatest",
"version": "2.2.2",
"version": "2.2.3",
"description": "pusakatest is an automation testing tool based on pactum using bdd (cucumber) style",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion templates/korean/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusakatest",
"version": "2.2.2",
"version": "2.2.3",
"description": "pusakatest is an automation testing tool based on pactum using bdd (cucumber) style",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 98e89c3

Please sign in to comment.