fix(exportVariables/test): wrap in test (#12992)
parent
133b131617
commit
47d52f890f
|
@ -41,6 +41,7 @@ class FakeFetcher implements ValueFetcher {
|
|||
|
||||
describe('hydrate vars', () => {
|
||||
describe('exportVariables', () => {
|
||||
test('should find variable exports', () => {
|
||||
const a = createVariable('a', 'f(x: v.b, v.c)')
|
||||
const b = createVariable('b', 'beep')
|
||||
const c = createVariable('c', 'robit')
|
||||
|
@ -51,6 +52,7 @@ describe('hydrate vars', () => {
|
|||
|
||||
expect(actual).toEqual([a, b, c])
|
||||
})
|
||||
})
|
||||
|
||||
test('should invalidate cyclic subgraphs', async () => {
|
||||
// Construct the following graph:
|
||||
|
|
Loading…
Reference in New Issue