@looker/api-explorer 0.9.29 → 0.9.33-alpha.1522

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,15 +57,15 @@ describe('DocMarkdown utils', () => {
57
57
  expect(result).toEqual('/3.1/methods/Dashboard/create_dashboard')
58
58
  })
59
59
  test('removes mark tags and transforms url', () => {
60
- const url = 'https://looker.com/docs/r/api/<mark>authorization</mark>'
60
+ const url = 'https://docs.looker.com/r/api/<mark>authorization</mark>'
61
61
  const result = transformURL('3.1', url)
62
- expect(result).toEqual('https://looker.com/docs/r/api/authorization')
62
+ expect(result).toEqual('https://docs.looker.com/r/api/authorization')
63
63
  })
64
64
  test('removes escaped mark tags and transforms url', () => {
65
65
  const url =
66
- 'https://looker.com/docs/r/api/%3Cmark%3Eauthorization%3Cmark%3E'
66
+ 'https://docs.looker.com/r/api/%3Cmark%3Eauthorization%3Cmark%3E'
67
67
  const result = transformURL('3.1', url)
68
- expect(result).toEqual('https://looker.com/docs/r/api/authorization')
68
+ expect(result).toEqual('https://docs.looker.com/r/api/authorization')
69
69
  })
70
70
  })
71
71
  })
@@ -62,7 +62,8 @@ describe('exploreUtils', () => {
62
62
  icon: <FieldString />,
63
63
  title: 'string',
64
64
  })
65
- expect(typeIcon(props.id.type)).toEqual({
65
+ const intProp = api.types.ColorStop.properties.offset
66
+ expect(typeIcon(intProp.type)).toEqual({
66
67
  icon: <Tag />,
67
68
  title: 'int64',
68
69
  })
@@ -30,7 +30,7 @@ const browser = require('../../webpack.browser.config')()
30
30
 
31
31
  module.exports = merge(base, browser, {
32
32
  entry: {
33
- app: path.join(__dirname, 'src/index.ts'),
33
+ app: path.join(__dirname, 'src/App.tsx'),
34
34
  },
35
35
  mode: 'production',
36
36
  })