Skip to content

Commit b0efbda

Browse files
committed
Update test snapshots for renamed generateTsAstCodeFromPgAst function
- Update snapshots to reflect t.nodes.* output instead of ast.* output - Snapshots now match the schema-based function behavior Co-Authored-By: Dan Lynch <[email protected]>
1 parent aeb3f31 commit b0efbda

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/proto-parser/__tests__/__snapshots__/meta.test.ts.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`AST to AST to create AST — meta 🤯 1`] = `
4-
"ast.selectStmt({
5-
targetList: [ast.resTarget({
6-
val: ast.columnRef({
7-
fields: [ast.aStar({})]
4+
"t.nodes.selectStmt({
5+
targetList: [t.nodes.resTarget({
6+
val: t.nodes.columnRef({
7+
fields: [t.nodes.aStar({})]
88
})
99
})],
10-
fromClause: [ast.rangeVar({
10+
fromClause: [t.nodes.rangeVar({
1111
relname: "some_amazing_table",
1212
inh: true,
1313
relpersistence: "p"

0 commit comments

Comments
 (0)