Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jul 28, 2023
1 parent f520318 commit 728d4e7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/astro/test/units/integrations/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Astro feature map', function () {
let result = validateSupportedFeatures(
'test',
{
hybridOutput: 'Stable',
hybridOutput: 'stable',
},
{
output: 'hybrid',
Expand Down Expand Up @@ -74,7 +74,7 @@ describe('Astro feature map', function () {
it('should be supported with the correct config', () => {
let result = validateSupportedFeatures(
'test',
{ staticOutput: 'Stable' },
{ staticOutput: 'stable' },
{
output: 'static',
},
Expand All @@ -86,7 +86,7 @@ describe('Astro feature map', function () {
it("should not be valid if the config is correct, but the it's unsupported", () => {
let result = validateSupportedFeatures(
'test',
{ staticOutput: 'Unsupported' },
{ staticOutput: 'unsupported' },
{
output: 'static',
},
Expand All @@ -99,7 +99,7 @@ describe('Astro feature map', function () {
it('should be supported with the correct config', () => {
let result = validateSupportedFeatures(
'test',
{ hybridOutput: 'Stable' },
{ hybridOutput: 'stable' },
{
output: 'hybrid',
},
Expand All @@ -112,7 +112,7 @@ describe('Astro feature map', function () {
let result = validateSupportedFeatures(
'test',
{
hybridOutput: 'Unsupported',
hybridOutput: 'unsupported',
},
{
output: 'hybrid',
Expand All @@ -126,7 +126,7 @@ describe('Astro feature map', function () {
it('should be supported with the correct config', () => {
let result = validateSupportedFeatures(
'test',
{ serverOutput: 'Stable' },
{ serverOutput: 'stable' },
{
output: 'server',
},
Expand All @@ -139,7 +139,7 @@ describe('Astro feature map', function () {
let result = validateSupportedFeatures(
'test',
{
serverOutput: 'Unsupported',
serverOutput: 'unsupported',
},
{
output: 'server',
Expand All @@ -156,7 +156,7 @@ describe('Astro feature map', function () {
'test',
{
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: true,
},
},
Expand All @@ -176,7 +176,7 @@ describe('Astro feature map', function () {
'test',
{
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSquooshCompatible: true,
},
},
Expand All @@ -197,7 +197,7 @@ describe('Astro feature map', function () {
'test',
{
assets: {
supportKind: 'Unsupported',
supportKind: 'unsupported',
isNodeCompatible: false,
},
},
Expand Down

0 comments on commit 728d4e7

Please sign in to comment.