Skip to content

Commit

Permalink
Delete legacy Node.js API tests (#1610)
Browse files Browse the repository at this point in the history
These are now tested using the runner in sass-spec.
  • Loading branch information
nex3 authored Jan 26, 2022
1 parent 13099d4 commit 69077dd
Show file tree
Hide file tree
Showing 44 changed files with 4 additions and 3,497 deletions.
2 changes: 0 additions & 2 deletions dart_test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
tags:
# Indicates tests that require Node.js.
node:

platforms: [vm, node]
2 changes: 0 additions & 2 deletions test/cli/dart/colon_args_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'package:test/test.dart';

import '../dart_test.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/cli/dart/errors_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'package:test/test.dart';
import 'package:test_descriptor/test_descriptor.dart' as d;

Expand Down
2 changes: 0 additions & 2 deletions test/cli/dart/repl_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'package:test/test.dart';

import '../dart_test.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/cli/dart/source_maps_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'package:test/test.dart';

import '../dart_test.dart';
Expand Down
2 changes: 1 addition & 1 deletion test/cli/dart/update_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// https://opensource.org/licenses/MIT.

// OS X's modification time reporting is flaky, so we skip these tests on it.
@TestOn('vm && !mac-os')
@TestOn('!mac-os')

import 'package:test/test.dart';

Expand Down
2 changes: 1 addition & 1 deletion test/cli/dart/watch_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// https://opensource.org/licenses/MIT.

// OS X's modification time reporting is flaky, so we skip these tests on it.
@TestOn('vm && !mac-os')
@TestOn('!mac-os')

// File watching is inherently flaky at the OS level. To mitigate this, we do a
// few retries when the tests fail.
Expand Down
2 changes: 0 additions & 2 deletions test/cli/dart_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'dart:convert';

import 'package:cli_pkg/testing.dart' as pkg;
Expand Down
1 change: 0 additions & 1 deletion test/cli/node/colon_args_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')
@Tags(['node'])

import 'package:test/test.dart';
Expand Down
1 change: 0 additions & 1 deletion test/cli/node/errors_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')
@Tags(['node'])

import 'package:test/test.dart';
Expand Down
1 change: 0 additions & 1 deletion test/cli/node/repl_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')
@Tags(['node'])

import 'package:test/test.dart';
Expand Down
1 change: 0 additions & 1 deletion test/cli/node/source_maps_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')
@Tags(['node'])

import 'package:test/test.dart';
Expand Down
2 changes: 1 addition & 1 deletion test/cli/node/update_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// https://opensource.org/licenses/MIT.

// OS X's modification time reporting is flaky, so we skip these tests on it.
@TestOn('vm && !mac-os')
@TestOn('!mac-os')
@Tags(['node'])

import 'package:test/test.dart';
Expand Down
2 changes: 1 addition & 1 deletion test/cli/node/watch_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// https://opensource.org/licenses/MIT.

// OS X's modification time reporting is flaky, so we skip these tests on it.
@TestOn('vm && !mac-os')
@TestOn('!mac-os')
@Tags(['node'])

// File watching is inherently flaky at the OS level. To mitigate this, we do a
Expand Down
1 change: 0 additions & 1 deletion test/cli/node_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')
@Tags(['node'])

import 'dart:convert';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/function_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/importer_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'dart:convert';

import 'package:test/test.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/logger_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'package:test/test.dart';
import 'package:source_span/source_span.dart';
import 'package:stack_trace/stack_trace.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/boolean_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/color_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/function_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/list_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/map_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/null_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/number_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'dart:math' as math;

import 'package:test/test.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api/value/string_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn("vm")

import 'package:test/test.dart';

import 'package:sass/sass.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/dart_api_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'package:package_config/package_config.dart';
import 'package:path/path.dart' as p;
import 'package:test/test.dart';
Expand Down
2 changes: 0 additions & 2 deletions test/double_check_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.

@TestOn('vm')

import 'dart:io';
import 'dart:convert';

Expand Down
147 changes: 0 additions & 147 deletions test/legacy_node_api/api.dart

This file was deleted.

Loading

0 comments on commit 69077dd

Please sign in to comment.